Free60 MediaWiki archive.
Python framework mkdocs is used to render the Markdown documentation.
Contributions are very welcome. Here's how you can help:
- Add / correct / expand technical information
- Improve documentation style
- Correct spelling / grammar
- Fix links
- Fork this repo
- Make changes
- Verify your changes are formatted properly
- Send a Pull Request
NOTE: The following instructions are targeted towards Unix OS' - needed steps on windows may vary.
NOTE 2: You need python3 and python3-venv installed. Please look at your OS' package manager to find the correct packages.
-
At first: Fork the repository to your account!
-
Clone the forked repository (change to your actual username)
# SSH
git clone [email protected]:<username>/wiki.git
or
# HTTPS
git clone https://github.com/<username>/wiki.git- Navigate into wiki repository folder
cd wiki/- Choose one of the two deployment methods below.
pip install mkdocs mkdocs-material mkdocs-redirects- At this point, load up the cloned repository in a text editor that has live-markdown preview function.
- For example: Visual Studio Code. Instructions: (https://code.visualstudio.com/Docs/languages/markdown)
- Once you are happy and the added changes are looking proper, you are ready to submit your work.
Add modified files for commiting
git add docs/<edited_file>.md
git add docs/<edited_file_2>.md
...Create a new commit
git commit
# Now in the upcoming editor, describe the changes you made.Push the changes to your forked repository
git push- Send a Pull Request :)
- Create & activate python virtual-environment (might need dependency
python3-venv, see: https://docs.python.org/3/library/venv.html)
python3 -m venv venv
source venv/bin/activate
- Install mkdocs and dependencies
pip install -r requirements.txt
- Edit docs and verify with the following commands:
Serve the documentation (http://127.0.0.1:8000)
mkdocs serve --strict
Build the documentation
mkdocs build --strict
- Execute docker container:
docker compose up
- Navigate to http://127.0.0.1:8000
- Make your changes and verify the formatting / linking still checks out.