File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55# from the environment for the first two.
66SPHINXOPTS ?=
77SPHINXBUILD ?= sphinx-build
8- SOURCEDIR = .
8+ SOURCEDIR = source
99BUILDDIR = _build
1010
1111# Put it first so that "make" without argument is like "make help".
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ REM Command file for Sphinx documentation
77if " %SPHINXBUILD% " == " " (
88 set SPHINXBUILD = sphinx-build
99)
10- set SOURCEDIR = .
10+ set SOURCEDIR = source
1111set BUILDDIR = _build
1212
1313if " %1 " == " " goto help
Original file line number Diff line number Diff line change 33 background-color : # fff ;
44}
55
6+ .wy-side-nav-search > a ,
7+ .wy-side-nav-search .wy-dropdown > a {
8+ display : block;
9+ margin : 0 auto;
10+ }
11+
12+ .wy-side-nav-search img .logo {
13+ max-width : 240px ;
14+ width : 100% ;
15+ height : auto;
16+ margin : 0 auto 0.4rem auto;
17+ }
18+
619.wy-side-nav-search > div .version {
720 color : # 000 ;
821}
922
10- /* Justify the text. */
23+ /* Match the cleaner reading width used by polished RTD docs. */
24+ .wy-nav-content {
25+ max-width : 980px ;
26+ }
27+
28+ .wy-nav-content-wrap {
29+ background : # fcfcfd ;
30+ }
31+
32+ .wy-nav-content {
33+ box-shadow : 0 1px 3px rgba (0 , 0 , 0 , 0.04 );
34+ }
35+
36+ .rst-content {
37+ line-height : 1.65 ;
38+ }
39+
40+ .rst-content h1 {
41+ margin-bottom : 0.3em ;
42+ }
43+
44+ .rst-content h2 ,
45+ .rst-content h3 {
46+ margin-top : 1.4em ;
47+ }
48+
49+ .rst-content p {
50+ margin-bottom : 0.9em ;
51+ }
52+
53+ .rst-content table .docutils {
54+ border-radius : 6px ;
55+ overflow : hidden;
56+ }
57+
58+ .rst-content table .docutils thead th {
59+ background : # f2f5f9 ;
60+ }
61+
62+ .wy-menu-vertical header ,
63+ .wy-menu-vertical p .caption {
64+ color : # 4a5568 ;
65+ letter-spacing : 0.02em ;
66+ }
67+
68+ .wy-menu-vertical li .current > a {
69+ font-weight : 600 ;
70+ }
71+
72+ /* Keep tables and code blocks inside the content area on narrow screens. */
73+ .wy-table-responsive table td ,
74+ .wy-table-responsive table th {
75+ white-space : normal;
76+ }
1177
1278.section # basic-2-flip-flop-synchronizer {
1379 text-align : justify;
Original file line number Diff line number Diff line change 22import os
33import sys
44
5- import sphinx_rtd_theme
6-
75sys .path .insert (0 , os .path .abspath ('../../' ))
86
97project = 'PyTorch Geometric Signed Directed'
2321source_suffix = '.rst'
2422
2523html_theme = 'sphinx_rtd_theme'
26- html_theme_path = [sphinx_rtd_theme .get_html_theme_path ()]
2724html_theme_options = {
28- "collapse_navigation" : True ,
29- "display_version" : True ,
30- "logo_only" : False ,
25+ "collapse_navigation" : False ,
26+ "logo_only" : True ,
3127 "navigation_depth" : 2 ,
3228}
3329
3430html_logo = '_static/img/text_logo.jpg'
3531html_static_path = ['_static' ]
36- html_context = { 'css_files' : [ '_static/ css/custom.css' ]}
32+ html_css_files = [ ' css/custom.css' ]
3733
3834intersphinx_mapping = {
3935 'python' : ('https://docs.python.org/3' , None ),
Original file line number Diff line number Diff line change @@ -3,23 +3,66 @@ PyTorch Geometric Signed Directed
33
44PyTorch Geometric Signed Directed provides graph neural network models for signed and directed graphs built on PyTorch Geometric.
55
6- Quick Links
7- -----------
8-
96.. toctree ::
10- :maxdepth: 1
11- :caption: Getting Started
7+ :maxdepth: 2
8+ :hidden:
129
1310 notes/installation
1411 notes/introduction
1512 notes/datasets
16-
17- .. toctree ::
18- :maxdepth: 1
19- :caption: Reference
20-
2113 notes/case_study
2214 notes/resources
2315 modules/model
2416 modules/data
25- modules/utils
17+ modules/utils
18+
19+ Getting Started
20+ ---------------
21+
22+ .. list-table ::
23+ :widths: 28 72
24+ :header-rows: 1
25+
26+ * - Guide
27+ - Summary
28+
29+ * - :doc: `Installation <notes/installation >`
30+ - Set up prerequisites and install the package.
31+
32+ * - :doc: `Introduction <notes/introduction >`
33+ - Learn the core concepts, data classes, and citation details.
34+
35+ * - :doc: `Datasets <notes/datasets >`
36+ - Explore supported directed and signed real-world datasets.
37+
38+ Documentation
39+ -------------
40+
41+ .. list-table ::
42+ :widths: 28 72
43+ :header-rows: 1
44+
45+ * - Section
46+ - Summary
47+
48+ * - :doc: `Case Study Examples <notes/case_study >`
49+ - End-to-end examples for signed and directed tasks.
50+
51+ * - :doc: `External Resources <notes/resources >`
52+ - Papers and reference implementations used by the library.
53+
54+ * - :doc: `Models API <modules/model >`
55+ - Directed and signed model and layer documentation.
56+
57+ * - :doc: `Data API <modules/data >`
58+ - Data classes, generators, and loaders.
59+
60+ * - :doc: `Utils API <modules/utils >`
61+ - Objective functions, metrics, and utility helpers.
62+
63+ Indices and Tables
64+ ------------------
65+
66+ * :ref: `genindex `
67+ * :ref: `modindex `
68+ * :ref: `search `
You can’t perform that action at this time.
0 commit comments