Skip to content

Commit 6f8f738

Browse files
committed
doc groups + wip: public only
1 parent fee4b86 commit 6f8f738

9 files changed

Lines changed: 37 additions & 7 deletions

File tree

.gitmodules

Whitespace-only changes.

Doxyfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ RESOLVE_UNNAMED_PARAMS = YES
588588
# section is generated. This option has no effect if EXTRACT_ALL is enabled.
589589
# The default value is: NO.
590590

591-
HIDE_UNDOC_MEMBERS = NO
591+
HIDE_UNDOC_MEMBERS = YES
592592

593593
# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all
594594
# undocumented classes that are normally visible in the class hierarchy. If set
@@ -597,7 +597,7 @@ HIDE_UNDOC_MEMBERS = NO
597597
# if EXTRACT_ALL is enabled.
598598
# The default value is: NO.
599599

600-
HIDE_UNDOC_CLASSES = NO
600+
HIDE_UNDOC_CLASSES = YES
601601

602602
# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend
603603
# declarations. If set to NO, these declarations will be included in the

docs/groups.dox

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/// @defgroup gl Graph Library (GL)
2+
/// @brief Core graph models, structures, and utilities.
3+
///
4+
/// @defgroup hgl Hypergraph Library (HGL)
5+
/// @brief Core hypergraph models, structures, and utilities.
6+
///
7+
/// @defgroup gl_alg GL Algorithms
8+
/// @ingroup gl
9+
/// @brief Algorithms for standard graphs.
10+
///
11+
/// @defgroup hgl_alg HGL Algorithms
12+
/// @ingroup hgl
13+
/// @brief Algorithms for hypergraphs.

include/gl/algorithm/templates/bfs.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
namespace gl::algorithm {
1414

15+
/// @ingroup gl_alg
1516
template <
1617
traits::c_graph G,
1718
traits::c_forward_range_of<search_node<G>> InitQueueRangeType = std::vector<search_node<G>>,

include/gl/conversion.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ using swap_impl_tag_t = typename swap_impl_tag<GT, NewImplTag>::type;
4848

4949
} // namespace traits
5050

51+
/// @internal
5152
namespace detail {
5253

54+
/// @internal
5355
template <traits::c_graph_impl_tag TargetImplTag, traits::c_graph_impl_tag SourceImplTag>
5456
struct to_impl {
5557
template <typename TargetGraph, typename SourceGraph>

include/gl/graph.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,14 @@ template <traits::c_graph_impl_tag TargetImplTag, traits::c_graph Graph>
6262

6363
namespace detail {
6464

65+
/// @internal
6566
template <traits::c_graph_impl_tag TargetImplTag, traits::c_graph_impl_tag SourceImplTag>
6667
struct to_impl;
6768

6869
} // namespace detail
6970

7071
/// @brief A general-purpose graph container.
72+
/// @ingroup gl
7173
///
7274
/// This class represents a highly customizable graph data structure configured by the provided
7375
/// `GraphTraits`. It serves as the primary interface for managing vertices, edges, and their properties.

include/hgl/algorithm/templates/bfs.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
namespace hgl::algorithm {
1212

13+
/// @ingroup hgl_alg
1314
template <
1415
traversal_direction Dir = traversal_direction::forward,
1516
traits::c_hypergraph H,

include/hgl/hypergraph.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ struct to_impl;
7575

7676
} // namespace detail
7777

78+
/// @ingroup hgl
7879
template <traits::c_instantiation_of<hypergraph_traits> HypergraphTraits>
7980
class hypergraph final {
8081
public:

mkdocs.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ repo_url: "https://github.com/SpectraL519/cpp-gl"
44

55
nav:
66
- Home: index.md
7-
- CPP-GL API:
8-
- Namespaces: cpp-gl/namespaces.md
9-
- Classes & Structs: cpp-gl/annotated.md
10-
- Files: cpp-gl/files.md
7+
- GL:
8+
- Overview: cpp-gl/group__gl.md
9+
- Algorithms: cpp-gl/group__gl__alg.md
10+
- HGL:
11+
- Overview: cpp-gl/group__hgl.md
12+
- Algorithms: cpp-gl/group__hgl__alg.md
13+
- Full API Index:
14+
- Namespaces: cpp-gl/namespaces.md
15+
- Classes & Structs: cpp-gl/annotated.md
16+
- Files: cpp-gl/files.md
1117

1218
theme:
1319
name: material
@@ -63,10 +69,14 @@ plugins:
6369
- mkdoxy:
6470
projects:
6571
cpp-gl:
66-
src-dirs: include
72+
src-dirs: "include docs/groups.dox"
6773
full-doc: True
6874
doxy-cfg:
6975
PROJECT_NAME: "CPP-GL"
76+
EXTRACT_ALL: False
77+
HIDE_UNDOC_MEMBERS: True
78+
HIDE_UNDOC_CLASSES: True
79+
EXTRACT_STATIC: False
7080

7181
extra_javascript:
7282
- scripts/mathjax.js

0 commit comments

Comments
 (0)