Installing this handbook requires python and pip to be installed.
On MacOS you should need to install:
brew install cairo pango gdk-pixbuf libxml2 libxslt libffi python pandoc
You may need to install or upgrade cookiecutter:
python3 -m pip install --user --upgrade cookiecutter
make serve
At this point you will be able to see your handbook, by browsing to http://127.0.0.1:8000/datamigrators/nextgen.mettleci.io/.
make deploy
Note: For more help / targets, just type make
- Everything under the
/docsfolder becomes the website. - The table of contents (ToC) is created by https://github.com/lukasgeiter/mkdocs-awesome-pages-plugin which means that that the structure is defined by the folders.
- Each folder has a
.pagesfile which defines the names & other ToC definitions. - For example,
docs/overview/index.mdwill create a new section called Overview as the first section. - You can change the name of the section by adding a
docs/overview/.pagesfile. You can arrange pages with anarrangestatement in the.pagesfile.
This makes editing simple - just add / edit content under docs, either by pushing the EDIT pencil button in the GitHub pages in your browser, or creating content via GitHub / git push. Everything will be built - including the updated ToC - automatically via GitHub actions.
Navigate to the docs/railroads folder and follow instructions in the https://github.com/DataMigrators/nextgen.mettleci.io/tree/main/docs/railroads/README.md file.
- Please submit a Pull request with your suggested changes. This is highly encouraged, as it's the best way to contribute.
- Please open a New Issue if you have general feedback and comments.