Skip to content

dgarcia18/docs

 
 

Repository files navigation

OpenNebula Documentation

Make Html

This is the official repository of OpenNebula's Documentation. This documentation is live at: http://docs.opennebula.org.

You are encouraged to fork this repo and send us pull requests!

To create issues to report changes and requests, please use the OpenNebula main repository, with label Documentation.

Building

Graphviz <https://graphviz.org/> is needed to compile the documentation.

Also the following Python dependencies:

pip install sphinx sphinx_rtd_theme sphinx-prompt sphinx_substitution_extensions pyyaml.

Build the documentation by running make html. More information.

Spell checking

sphinxcontrib.spelling <https://sphinxcontrib-spelling.readthedocs.io/en/latest/index.html is needed to run the spell checker.

Also, the following Python dependencies: pip install sphinxcontrib-spelling pyenchant

And the python3-enchant package: sudo apt install python3-enchant

If the spellchecker job fails for your branch, you can check the job log which will display the file + word that didn't pass the spell checker along with some suggestions. Either you will have to correct the typo and push it again, or if it's a false positive, you can update the custom wordlist used at source/ext/spellchecking/wordlists/opennebula.txt

Translations

Bootstrap a new language

$ make gettext
$ sphinx-intl update -c source/conf.py -p build/locale -l <lang>

Translate

Translate your po files under ./locale/<lang>/LC_MESSAGES/.

Publish the translation

$ sphinx-intl build -c source/conf.py
$ make -e SPHINXOPTS="-D language='<lang>'" html

More Info

Follow this guide for more information.

About

OpenNebula Documentation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 31.9%
  • HTML 30.9%
  • Makefile 16.7%
  • Ruby 15.0%
  • CSS 4.4%
  • Shell 1.1%