This folder contains the documentation for the "cse160-opencl" project. The documentation is written using reStructuredText (RST) format and is built using Sphinx.
Follow these steps to create the documentation for cse160-opencl:
Make sure you have the following software installed:
- Python: Sphinx requires Python to be installed on your system. You can download Python from the official website.
-
Clone the repository to your local machine:
git clone git@github.com:KastnerRG/cse160-docs.git
-
Navigate to the
docs
directory:cd cse160-docs/docs
-
Install Sphinx and any necessary dependencies using pip:
pip install poetry poetry install
-
Write your documentation using reStructuredText (RST) format. You can create new RST files or modify existing ones in this directory.
-
Follow the Sphinx documentation for guidance on structuring your documentation, adding content, and using features like cross-references, code blocks, and images.
-
Once you've written or modified the documentation, you can build it using Sphinx.
-
From the
docs
directory, run the following command:poetry run make html
-
Sphinx will generate HTML files for your documentation in the
build/html
directory.
You can view the generated HTML documentation by opening the corresponding HTML files in a web browser. Alternatively, you can serve the documentation locally using a web server.
The latest documentation is being hosted here
- Documentation root path: root/docs
- Breathe Path: root/ext/breathe
- Doxygen XML Output: root/doxyxml
-
You might want to change the absolute paths in
docs/source/conf.py
anddocs/doxygen/Doxyfile
. You just need to change the prefix path from the given sample path. -
If you want doxygen to consider private class members as well, search for the
EXTRACT_PRIVATE
field in the Doxyfile and switch it toYES
.