Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.45 KB

README.md

File metadata and controls

56 lines (36 loc) · 1.45 KB

Mkdocs Framework and Material Theme for the Polkadot Developer Documentation Site

This repo contains the Mkdocs config files, theme overrides, and CSS changes.

The actual content is stored in the polkadot-docs repo and pulled in during build.

Get Started

Clone the Repository

So first, lets clone this repository:

git clone https://github.com/papermoonio/polkadot-mkdocs
cd polkadot-mkdocs

Install Dependencies

To get started you need to have Mkdocs installed. All dependencies can be installed with a single command, you can run:

pip install -r requirements.txt

Set Up Repository Structure

In order for everything to work correctly, the structure needs to be as follows:

polkadot-mkdocs
|--- /material-overrides/ (folder)
|--- /polkadot-docs/ (repository)
|--- mkdocs.yml

Inside the polkadot-mkdocs directory just created, clone the polkadot-docs repository:

git clone https://github.com/polkadot-developers/polkadot-docs.git

Run the Docs

Now in the polkadot-mkdocs folder, you can build the site by running:

mkdocs serve

After a successful build, the site should be available locally at http://127.0.0.1:8000.