Skip to main content

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.
  • Set rocm_docs_theme as the HTML theme

  • Add rocm_docs as an extension

  • Optionally, add rocm_docs.doxygen and sphinxcontrib.doxylink as extensions

For an example, see the test conf.py

Legacy Setup

  • From the rocm_docs package import the function setup_rocm_docs into conf.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

rocm_docs_core-1.33.1.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rocm_docs_core-1.33.1-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file rocm_docs_core-1.33.1.tar.gz.

File metadata

  • Download URL: rocm_docs_core-1.33.1.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

Hashes for rocm_docs_core-1.33.1.tar.gz
Algorithm Hash digest
SHA256 da25ef48ce1767d1dd94b7c5895d952f638922ea266a3e3d5b52bab54d0f6454
MD5 ccfcd8d0b73ca887c196417fab12f5d6
BLAKE2b-256 596010e844dd7cac67104326ade9cc488506e1557305018353435683aa0eb4d0

See more details on using hashes here.

File details

Details for the file rocm_docs_core-1.33.1-py3-none-any.whl.

File metadata

File hashes

Hashes for rocm_docs_core-1.33.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c85db61fc18570cd8ccc4d7bd9e01a92c9f6c6d5e88d33b2fa313731d01d2e02
MD5 bf0ce98ba679d157b5f2af0868aba026
BLAKE2b-256 9270acab0009fb6089738256a466b2e3aa92ce66d3d9fb7410e72e1586440857

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page