No description
Find a file
Antonio Torres 96df9361e6
Fix logo disappearing on dark theme
Signed-off-by: Antonio Torres <antorres@redhat.com>
2023-06-23 14:29:44 +02:00
.github/workflows ci: Split workflows for clarity 2023-06-22 13:15:29 +02:00
src Fix logo disappearing on dark theme 2023-06-23 14:29:44 +02:00
.gitignore Initial commit 2023-06-13 11:36:07 +02:00
Makefile Initial commit 2023-06-13 11:36:07 +02:00
README.md Update README 2023-06-19 11:06:19 +02:00
requirements.txt Change theme to 'book' 2023-06-22 10:20:30 +02:00

FreeIPA website Sources

The documentation is written in reStructuredText format and can be build with Sphinx documentation generator. Alternatively, MyST, a Markdown flavor, can be used as well.

Install Python dependencies

It is recommended to install Python dependencies in virtual environment.

$ python3 -m venv .venv
$ source .venv/bin/activate
(.venv) $ pip3 install -r requirements.txt

When finished working inside the virtual environment you can step out of it:

(.venv) $ deactivate

Build it

To build the project you need to be in the virtual environment.

(.venv) $ make html

Some changes may require a full project rebuild as documents are usually linked to each other:

(.venv) $ make clean && make html

View it

$ firefox _build/html/index.html

You do not need to be in virtual environment to see the build result.

Add new content

  1. Create a new page in reStructuredText or Markdown formats and include it somewhere in src folder.
  2. Every new page needs to be part of a page table of content (ToC) tree. To add a page to the ToC tree, either include it in toctree directive in an existing document or add it to the top level navigation at the end of the [index] document.
  3. Build the documentation with make html and navigate to your page to check that everything is displayed as intended.
  4. Open a Pull Request against this repository with your change.