Skip to content

This is the repository that backs the OVIS-HPC documentation on readthedocs.io

License

Unknown, LGPL-3.0 licenses found

Licenses found

Unknown
LICENSE
LGPL-3.0
COPYING
Notifications You must be signed in to change notification settings

ovis-hpc/readthedocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Documentation

Any new documentation will be formatted in .rst and added to this repository.

File Formatting

To enable RST linking, add the following directive at the top of the file:
  • .. _<file-name>

This will allow you to reference this file with

- :ref:`file-name`.
- :ref:`file-name <file-name>`.

Where file-name is what will be displayed on the website and <file-name> is the directive name listed at the top of the file.

For more information please see Read the Docs cross referencing documentation.

Test Your Changes

There are multiple ways to preview your documentation changes before merging them. We recommend using a personal Read the Docs account for testing, as it allows you to view the rendered results without affecting the main project. However, testing through a pull request is useful when you want to see a side-by-side comparison using Read the Docs' "diff" feature.

Personal Readthedocs Account

To visualize and test your documentation changes on the offical OVIS LDMS Documentation page, you can set up your own RTD account.

  1. Fork the repository: Fork the repository where the docs are located to your own GitHub account.
  2. Create a Read the Docs account: Sign up for a free Read the Docs account at readthedocs.org.
  3. Link the repository:
    • After logging in, go to the "Import a Project" page on Read the Docs.
    • Choose "GitHub" as the source and authorize Read the Docs to access your GitHub account.
    • Select your forked repository from the list.
  4. Specify the correct branch:
    • In the project settings, you will be asked to specify the branch of your repository. Select the branch that contains the changes you've made to the documentation.
  5. Set the location of .readthedocs.yml:
    • Read the Docs will need to know where your .readthedocs.yml file is located. In the project settings, ensure that you specify the current directory (./) as the location of the .readthedocs.yml file.
    • The .readthedocs.yml file controls the configuration of your documentation build process on Read the Docs (including things like Python dependencies, versioning, and build steps).
  6. Build the documentation: After linking the project and selecting the correct branch, Read the Docs will automatically build the documentation. You can view the generated docs at the provided URL.

This will allow you to see your changes in real-time as you push updates to the branch.

For a full walkthrough with screenshots, visit the Read the Docs Tutorial.

Review Pull Request Changes

To preview documentation changes through a pull request (PR):

  1. Submit a PR with your changes to the official repository.
  2. Read the Docs will automatically detect the pull request and generate a preview.
  3. On the PR page, a comment from Read the Docs will appear with a link to the preview documentation build.
  4. Click the link to review the rendered documentation, including a side-by-side comparison ("View docs as diff") between the current version and your proposed changes.

This is especially useful for maintainers to verify how changes will appear before merging.

Using Local Machine

The documentation can be built with make html or make man and the generated files will be found in the _build directory. If you instead want to test a build on your local machine, please install the following depencencies before running make html.

pip install -r docs/requirements.txt
sphinx-build -b html docs/ docs/_build

or, if you are using make:

make html

Note

Even if the documentation builds successfully, the final appearance (especially images, plots, or custom themes) may differ from the online version. Always check the rendered result on Read the Docs when possible.

Edits To Other Files

If your changes affect the documentation build process itself (e.g. editing conf.py, .readthedocs.yml, or requirements.txt), please submit a PR as usual. An admin or maintainer will review the changes to ensure compatibility with the build system.

About

This is the repository that backs the OVIS-HPC documentation on readthedocs.io

Resources

License

Unknown, LGPL-3.0 licenses found

Licenses found

Unknown
LICENSE
LGPL-3.0
COPYING

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 9