Skip to content

Commit dbb8fa1

Browse files
committed
super dupa
1 parent 53f62e8 commit dbb8fa1

5 files changed

Lines changed: 16 additions & 16 deletions

File tree

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1747,7 +1747,7 @@ FORMULA_MACROFILE =
17471747
# The default value is: NO.
17481748
# This tag requires that the tag GENERATE_HTML is set to YES.
17491749

1750-
USE_MATHJAX = YES
1750+
USE_MATHJAX = NO
17511751

17521752
# With MATHJAX_VERSION it is possible to specify the MathJax version to be used.
17531753
# Note that the different versions of MathJax have different requirements with

docs/scripts/mathjax.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
window.MathJax = {
22
tex: {
33
inlineMath: [["\\(", "\\)"], ["$", "$"]],
4-
displayMath: [["\\[", "\\]"], ["$$", "$$"], ["[[", "]]"]],
4+
displayMath: [["\\[", "\\]"], ["$$", "$$"]],
55
processEscapes: true,
66
processEnvironments: true
77
},
88
options: {
9-
ignoreHtmlClass: ".*|",
9+
ignoreHtmlClass: ".*",
1010
processHtmlClass: "arithmatex"
1111
}
1212
};

include/gl/graph.hpp

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -75,20 +75,18 @@ struct to_impl;
7575
/// @tparam GraphTraits An instantiation of @ref gl::graph_traits
7676
///
7777
/// ### Mathematics
78-
/// Here is an inline math equation using standard dollars: \f$V = E - F + 2\f$,
79-
/// and one using Big-O: \f$\mathcal{O}(\vert V \vert + \vert E \vert)\f$.
78+
/// Inline math: $V = E - F + 2$
79+
/// Big-O: $\mathcal{O}(\vert V \vert + \vert E \vert)$
8080
///
81-
/// And here is a normal (multiline) math block:
82-
///
83-
/// $$
81+
/// Display math:
82+
/// ```math
8483
/// \sum_{v \in V} \text{deg}(v) = 2 \vert E \vert
85-
/// $$
86-
///
87-
/// Or alternatively for environments like cases:
84+
/// ```
8885
///
89-
/// $$
86+
/// Complex environment:
87+
/// ```math
9088
/// A_{i,j} = \begin{cases} 1 & \text{if } (i,j) \in E \\\\ 0 & \text{otherwise} \end{cases}
91-
/// $$
89+
/// ```
9290
///
9391
/// ### Code Example
9492
/// ```cpp
@@ -107,7 +105,7 @@ struct to_impl;
107105
/// ### References
108106
/// For a general overview and integration instructions, see the [Project Overview](/#overview)
109107
/// or the [Installation Guide](/#installing-the-library).
110-
/// A simple reference: @ref README
108+
/// A simple reference [MAIN PAGE](/)
111109
///
112110
/// > [!WARNING]
113111
/// > This class relies on its internal implementation tag to correctly define its layout. Modifying

mkdocs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ plugins:
5555
graphlib:
5656
src-dirs: include/
5757
doxy-cfg:
58-
GENERATE_HTML: NO
5958
GENERATE_XML: YES
59+
GENERATE_HTML: NO
60+
USE_MATHJAX: NO
61+
ENABLE_PREPROCESSING: YES
6062
RECURSIVE: YES

scripts/postprocess_doxyhtml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ def process_file(f: Path, img_rules: Optional[ImgRules] = None):
118118
content = f.read_text(encoding='utf-8')
119119
content = process_md_refs(content)
120120
content = process_gfm(content)
121-
content = process_heading_code_blocks(content)
122121
content = remove_mainpage_title(content, f.name)
123122
if img_rules:
124123
content = process_images(content, f, img_rules)
124+
content = process_heading_code_blocks(content)
125125

126126
f.write_text(content, encoding='utf-8')
127127

0 commit comments

Comments
 (0)