Core utilities for all ROCm documentation on RTD
Project description
ROCm Documentation Core Utilities
ROCm Docs Core is also distributed as a pip package available from PyPi as rocm-docs-core
Purpose
This repository is comprised of utilities, styling, scripts, and additional HTML content that is common to all ROCm projects' documentation. This greatly aids in maintaining the documentation, as any change to the appearance only needs to be modified in one location.
Usage
Setup
-
Install this repository as a Python package using pip
- From PyPi:
pip install rocm-docs-core
- From GitHub:
pip install git+https://github.com/RadeonOpenCompute/rocm-docs-core.git
.
- From PyPi:
-
Set
rocm_docs_theme
as the HTML theme -
Add
rocm_docs
as an extension -
Optionally, add
rocm_docs.doxygen
andsphinxcontrib.doxylink
as extensions
For an example, see the test conf.py
Legacy Setup
- From the
rocm_docs
package import the functionsetup_rocm_docs
intoconf.py
for the ReadTheDocs project. - Call exactly the following, replacing
<PROJECT NAME HERE>
with the name of the project.
For an example, see the test legacy conf.py
Documentation
The rocm-docs-core
documentation is viewable at https://rocm.docs.amd.com/projects/rocm-docs-core/en/latest/
User Guide
The User Guide describes how users can make use of functionality in rocm-docs-core
It is viewable at https://rocm.docs.amd.com/projects/rocm-docs-core/en/latest/user_guide/user_guide.html
Developer Guide
The Developer Guide provides additional information on the processes in toolchains for rocm-docs-core
It is viewable at https://rocm.docs.amd.com/projects/rocm-docs-core/en/latest/developer_guide/developer_guide.html
Build Documentation Locally
To build the rocm-docs-core
documentation locally, run the commands below:
pip install -r requirements.txt
cd docs
python3 -m sphinx -T -E -b html -d _build/doctrees -D language=en . _build/html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for rocm_docs_core-0.36.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 589f7d876988764494043f4a7a3dc7ef34f469db3d2f07c30b331e72f567d540 |
|
MD5 | e338607c0f9846eaf3d36a64809f1310 |
|
BLAKE2b-256 | 49e51c007322e7f85d10950044e0cd82e611f500efb82587f4bfe0b58504507f |