Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
- PR #845 Add .clang-format & format all files
- PR #859 Updated main docs
- PR #862 Katz Centrality : Auto calculation of alpha parameter if set to none
- PR #865 Added C++ docs

## Bug Fixes
- PR #763 Update RAPIDS conda dependencies to v0.14
Expand Down
13 changes: 13 additions & 0 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -438,3 +438,16 @@ install(TARGETS cugraph LIBRARY

install(DIRECTORY include/
DESTINATION include/cugraph)

###################################################################################################
# - make documentation ----------------------------------------------------------------------------
# requires doxygen and graphviz to be installed
# from build directory, run make docs_cugraph

# doc targets for cuGraph
add_custom_command(OUTPUT CUGRAPH_DOXYGEN
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/doxygen
COMMAND doxygen Doxyfile
VERBATIM)

add_custom_target(docs_cugraph DEPENDS CUGRAPH_DOXYGEN)
2,427 changes: 2,427 additions & 0 deletions cpp/doxygen/Doxyfile

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions cpp/doxygen/main_page.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# libcugraph

libcugraph is a C++ GPU Accelerated Graph Algorithm library.
15 changes: 14 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Building Documentation

A basic python environment with packages listed in `./requirement.txt` is
enough to build the docs.
enough to build the docs. Doc generation does not get run by default

## Get additional dependency

Expand All @@ -17,3 +17,16 @@ make html

Outputs to `build/html/index.html`

## View docs web page by opening HTML in browser:

First navigate to `/build/html/` folder, i.e., `cd build/html` and then run the following command:

```bash
python -m http.server
```
Then, navigate a web browser to the IP address or hostname of the host machine at port 8000:

```
https://<host IP-Address>:8000
```
Now you can check if your docs edits formatted correctly, and read well.
16 changes: 9 additions & 7 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,21 @@ Conversion from Other Formats
Centrality
==========

Katz Centrality
---------------
Betweenness Centrality
----------------------

.. automodule:: cugraph.centrality.katz_centrality
.. automodule:: cugraph.centrality.betweenness_centrality
:members:
:undoc-members:

Betweenness Centrality
----------------------
Katz Centrality
---------------

.. automodule:: cugraph.centrality.betweenness_centrality
.. automodule:: cugraph.centrality.katz_centrality
:members:
:undoc-members:


Community
=========

Expand Down Expand Up @@ -91,6 +92,7 @@ Triangle Counting
:members:
:undoc-members:


Components
==========

Expand Down Expand Up @@ -122,7 +124,7 @@ Core Number
K-Truss
-------

.. automodule:: cugraph.ktruss.ktruss_subgraph
.. automodule:: cugraph.cores.ktruss_subgraph
:members:
:undoc-members:

Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

# General information about the project.
project = 'cugraph'
copyright = '2019, NVIDIA'
copyright = '2019-2020, NVIDIA'
author = 'NVIDIA'

# The version info for the project you're documenting, acts as replacement for
Expand Down
File renamed without changes.