-
Notifications
You must be signed in to change notification settings - Fork 670
Consolidate developer documentation in Sphinx #8608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
csadorf
wants to merge
5
commits into
NVIDIA:release/26.10
Choose a base branch
from
csadorf:issue-8590-consolidate-developer-documentation
base: release/26.10
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
f6bfc98
Add C++ API reference to Sphinx docs
bdice 9c26926
Move developer documentation into Sphinx
csadorf b8674f2
Publish C++ API through Sphinx
csadorf fb1b1c2
Fix reflected attribute example imports
csadorf 9b8e4f8
Merge branch 'release/26.10' into issue-8590-consolidate-developer-do…
csadorf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -74,6 +74,7 @@ doxygen_check/ | |
|
|
||
| ## Doxygen | ||
| cpp/html | ||
| cpp/xml | ||
| cpp/Doxyfile | ||
|
|
||
| # clang tooling | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,6 +4,7 @@ channels: | |
| - rapidsai-nightly | ||
| - conda-forge | ||
| dependencies: | ||
| - breathe | ||
| - c-compiler | ||
| - ccache | ||
| - certifi | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,6 +4,7 @@ channels: | |
| - rapidsai-nightly | ||
| - conda-forge | ||
| dependencies: | ||
| - breathe | ||
| - c-compiler | ||
| - ccache | ||
| - certifi | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,6 +4,7 @@ channels: | |
| - rapidsai-nightly | ||
| - conda-forge | ||
| dependencies: | ||
| - breathe | ||
| - c-compiler | ||
| - ccache | ||
| - certifi | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,6 +4,7 @@ channels: | |
| - rapidsai-nightly | ||
| - conda-forge | ||
| dependencies: | ||
| - breathe | ||
| - c-compiler | ||
| - ccache | ||
| - certifi | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,26 @@ | ||
| # Building Documentation | ||
| ## Building locally: | ||
| # Building the documentation | ||
|
|
||
| #### [Build and install cuML](../BUILD.md) | ||
| ## Build locally | ||
|
|
||
| First [build and install cuML](../BUILD.md). Generate Doxygen XML before the | ||
| Sphinx documentation because Breathe reads that XML while rendering the C++ API | ||
| pages: | ||
|
|
||
| #### Generate the docs | ||
| ```bash | ||
| bash build.sh cppdocs pydocs | ||
| ./build.sh cppdocs pydocs | ||
| ``` | ||
|
|
||
| #### Once the process finishes, documentation can be found in build/html | ||
| The `pydocs` target automatically generates the Doxygen XML prerequisite, so it | ||
| also works on its own. Naming both targets as above makes the prerequisite | ||
| explicit without generating it twice. Doxygen writes XML under `cpp/xml/`; it | ||
| does not produce a separately published HTML API site. The Sphinx Makefile | ||
| writes the complete documentation, including the C++ API reference, to | ||
| `docs/build/html/`: | ||
|
|
||
| ```bash | ||
| xdg-open build/html/api.html | ||
| xdg-open docs/build/html/index.html | ||
| xdg-open docs/build/html/developer_guide/cpp/api/index.html | ||
| ``` | ||
|
|
||
| CI uses the `dirhtml` builder instead, staging its version of the same Sphinx | ||
| site from `docs/_html/`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| Contributing | ||
| ============ | ||
|
|
||
| Start with the repository's `contribution guidelines | ||
| <https://github.com/NVIDIA/cuml/blob/main/CONTRIBUTING.md>`_ for proposing | ||
| changes, preparing pull requests, running repository checks, and working with | ||
| continuous integration. Those guidelines are the canonical source for the | ||
| contribution process. | ||
|
|
||
| Use the implementation-specific sections of this Developer Guide after choosing | ||
| a change: | ||
|
|
||
| * :doc:`Python development <python/development>` covers Python style, testing, | ||
| validation, memory management, and documentation. | ||
| * :doc:`Python estimator development <python/estimators>` describes the | ||
| ``cuml.Base`` estimator contract and implementation patterns. | ||
| * :doc:`C++ and CUDA development <cpp/index>` covers C++/CUDA source layout, | ||
| resources, testing, and the internal C++ API reference. | ||
| * :doc:`Benchmarking <benchmarking>` explains the benchmark CLI, manifests, and | ||
| adding algorithm coverage. |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.