Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

Commit 317822b

Browse files
committed
doc: tweaks for new 0.3 theme
1 parent ed50ba2 commit 317822b

File tree

6 files changed

+49
-19
lines changed

6 files changed

+49
-19
lines changed

doc/conf.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
sys.path.append(juliadoc_dir)
2222

2323
import juliadoc
24+
import sphinx_rtd_theme
2425

2526
# -- General configuration -----------------------------------------------------
2627

@@ -112,7 +113,8 @@
112113
#html_theme_options = {}
113114

114115
# Add any paths that contain custom themes here, relative to this directory.
115-
html_theme_path = [juliadoc.get_theme_dir()]
116+
html_theme_path = [juliadoc.get_theme_dir(),
117+
sphinx_rtd_theme.get_html_theme_path()]
116118

117119
# The name for this set of Sphinx documents. If None, it defaults to
118120
# "<project> v<release> documentation".

doc/index.rst

+40-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,43 @@
66
.. toctree::
77
:maxdepth: 1
88

9-
manual/index
10-
stdlib/index
11-
packages/packagelist
9+
manual/introduction
10+
manual/getting-started
11+
manual/variables
12+
manual/integers-and-floating-point-numbers
13+
manual/mathematical-operations
14+
manual/complex-and-rational-numbers
15+
manual/strings
16+
manual/functions
17+
manual/control-flow
18+
manual/variables-and-scoping
19+
manual/types
20+
manual/methods
21+
manual/constructors
22+
manual/conversion-and-promotion
23+
manual/modules
24+
manual/metaprogramming
25+
manual/arrays
26+
manual/linear-algebra
27+
manual/networking-and-streams
28+
manual/parallel-computing
29+
manual/running-external-programs
30+
manual/calling-c-and-fortran-code
31+
manual/embedding
32+
manual/packages
33+
manual/performance-tips
34+
manual/style-guide
35+
manual/faq
36+
manual/noteworthy-differences
37+
stdlib/base
38+
stdlib/sparse
39+
stdlib/linalg
40+
stdlib/constants
41+
stdlib/file
42+
stdlib/punctuation
43+
stdlib/sort
44+
stdlib/pkg
45+
stdlib/collections
46+
stdlib/graphics
47+
stdlib/test
48+
stdlib/profile

doc/requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
-e git+https://github.com/JuliaLang/JuliaDoc.git#egg=JuliaDoc
2+
-e git+https://github.com/snide/sphinx_rtd_theme.git#egg=sphinx_rtd_theme

doc/stdlib/base.rst

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
.. currentmodule:: Base
22

3+
**********************
4+
The Standard Library
5+
**********************
6+
37
Introduction
48
------------
59

doc/stdlib/index.rst

-14
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
The Julia Standard Library
66
############################
77

8-
*********
9-
Built-ins
10-
*********
11-
128
.. toctree::
139
:maxdepth: 1
1410

@@ -19,16 +15,6 @@ Built-ins
1915
file
2016
punctuation
2117
sort
22-
23-
.. _built-in-modules:
24-
25-
****************
26-
Built-in Modules
27-
****************
28-
29-
.. toctree::
30-
:maxdepth: 1
31-
3218
pkg
3319
collections
3420
graphics

0 commit comments

Comments
 (0)