Working With DocumentationβοΈ
This section defines necessary steps to start developing the EDP documentation in the MkDocs Framework. The framework presents a static site generator with documentation written in Markdown. All the docs are configured with a YAML configuration file.
Note
For more details on the framework, please refer to the MkDocs official website.
There are two options for working with MkDocs:
- Work with MkDocs if Docker is installed
- Work with MkDocs if Docker is not installed
Please see below the detailed description of each options and choose the one that suits you.
MkDocs With DockerβοΈ
Prerequisites:
- Docker is installed.
make
utility is installed.
- Git is installed. Please refer to the Git downloads.
To work with MkDocs, take the following steps:
-
Clone the edp-install repository to your local folder.
-
Run the following command:
make docs
-
Enter the localhost:8000 address in the browser and check that documentation pages are available.
-
Open the file editor, navigate to edp-install->docs and make necessary changes. Check all the changes at localhost:8000.
-
Create a merge request with changes.
MkDocs Without DockerβοΈ
Prerequisites:
- Git is installed. Please refer to the Git downloads.
- Python 3.9.5 is installed.
To work with MkDocs without Docker, take the following steps:
-
Clone the edp-install repository to your local folder.
-
Run the following command:
-
Run the local development command:
-
Enter the localhost:8000 address in the browser and check that documentation pages are available.
-
Open the file editor, navigate to edp-install->docs and make necessary changes. Check all the changes at localhost:8000.
-
Create a merge request with changes.