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/ROCm/rocm-docs-core.git.
- From PyPi:
-
Set
rocm_docs_themeas the HTML theme -
Add
rocm_docsas an extension -
Optionally, add
rocm_docs.doxygenandsphinxcontrib.doxylinkas extensions
For an example, see the test conf.py
Legacy Setup
- From the
rocm_docspackage import the functionsetup_rocm_docsintoconf.pyfor 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rocm_docs_core-1.31.3.tar.gz.
File metadata
- Download URL: rocm_docs_core-1.31.3.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e1c2d98b155bd461f048729c11b15f11f1be67bc93fe777970e4901317ab60b
|
|
| MD5 |
2f770c900fe19c6fd08e0672d14e0c48
|
|
| BLAKE2b-256 |
f2b2205405a0881c8ff878fb3fc65699b8b9ee6ff3d5028587505f26cbc09f37
|
File details
Details for the file rocm_docs_core-1.31.3-py3-none-any.whl.
File metadata
- Download URL: rocm_docs_core-1.31.3-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
490d5b3775c3ec168776d5209e661cdf51632965206289cf4e5a27aa220a5739
|
|
| MD5 |
abab2cd64fe22e5989faa71bde40ba41
|
|
| BLAKE2b-256 |
633cb989651118916aa4ce50c99650351e4b6556f8b296e1d24189b3bd1fa329
|