commit | cfbc984176b63c252317d568fa25462aceff61d1 | [log] [tgz] |
---|---|---|
author | Antonio García-Domínguez <agarcdomi@gmail.com> | Tue Oct 08 14:10:09 2019 +0100 |
committer | Antonio García-Domínguez <agarcdomi@gmail.com> | Tue Oct 08 14:10:09 2019 +0100 |
tree | 20c5efea70056d5f2cd6860e5eca99e0f0a439b9 | |
parent | bc55d9cc843c0ef94dc112ef17fa14a0c3a8a861 [diff] |
Keep tweaking .htaccess
This repository hosts the MkDocs source code for the Eclipse Hawk website.
To work on the website, set up a Python 3 virtualenv environment and install the dependencies through pip
:
virtualenv -p python3 env pip install -r requirements.txt
The virtualenv
environment will remain active until you terminate that console session. If you want to continue working on the website, you will need to reactivate the environment with:
source env/bin/activate
Once the virtualenv
environment is activated and the project dependencies have been installed, you can start the built-in development server with:
mkdocs serve
The website has a number of useful Markdown extensions enabled:
After a new version of the website is ready and before you push, make sure you build it with:
mkdocs build
The repository has an .htaccess
file which will silently redirect all requests to go through the site
subfolder produced by MkDocs.