Skip to content

Latest commit

 

History

History
 
 

README.md

Parallel Programming Course Documentation

How to make and test your changes

  1. Navigate to the project root directory:
cd parallel_programming_course
  1. (Optional) Create a virtual environment:
python3 -m venv venv
  1. Install the required dependencies (for the projects and the docs):
pip install -r requirements.txt
pip install -r docs/requirements.txt
  1. Configure the documentation build:
cmake -S . -B build -DUSE_DOCS=ON -DPPC_BUILD_COMPONENTS=OFF

Note: -DPPC_BUILD_COMPONENTS=OFF could be used to configure documentation without C++ project dependencies

  1. Generate API documentation with Doxygen:
doxygen Doxyfile
  1. Build the documentation:
cmake --build build -t docs_html
  1. Update the documentation:
cmake --build build -t docs_gettext
# update documentation
cmake --build build -t docs_update
  1. Check that committed translations are up to date:
cmake --build build -t docs_i18n_check
  1. Re-build the documentation:
cmake --build build -t docs_html
  1. Make local deployment of the changes:
cd docs/_build/html
python3 -m http.server 8080
  1. Open the documentation in your browser. Depending on your platform use open (macOS), xdg-open (Linux), or start (Windows):
open http://localhost:8080/en     # macOS
xdg-open http://localhost:8080/en # Linux
start http://localhost:8080/en    # Windows

open http://localhost:8080/ru     # macOS
xdg-open http://localhost:8080/ru # Linux
start http://localhost:8080/ru    # Windows