Skip to content

Commit 4bde97c

Browse files
committed
Clean up the hierarchy of sections and enable "parts"
The sections hierarchy now follows the official rule: http://sphinx-doc.org/rest.html#sections
1 parent 420c6c3 commit 4bde97c

File tree

5 files changed

+17
-12
lines changed

5 files changed

+17
-12
lines changed

text/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216

217217
# For "manual" documents, if this is true, then toplevel headings are parts,
218218
# not chapters.
219-
#latex_use_parts = False
219+
latex_use_parts = True
220220

221221
# If true, show page references after internal links.
222222
latex_show_pagerefs = True

text/source/front/ack.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Acknowledgments
2-
***************
2+
===============
33

44
This book is the culmination of so many lectures, books, discussions,
55
conferences, *etc.* that it is impossible to provide a full accounting
@@ -8,7 +8,7 @@ there are people I've failed to mention here and I apologize in
88
advance to anyone who feels they've been overlooked.
99

1010
Technical
11-
=========
11+
---------
1212

1313
On the subject of Modelica, the primary acknowledgment has to be to
1414
Hilding Elmqvist for not only having the technical vision to recognize
@@ -45,7 +45,7 @@ participated in the development of the Modelica Language and the
4545
Modelica Standard Library.
4646

4747
Personal
48-
========
48+
--------
4949

5050
On a personal note, I am forever indebted to my mother, my father, my
5151
wife, my kids and my in-laws for their endless support of my passion
@@ -85,7 +85,7 @@ Sandrine Loembe for all the good times during my excellent year in
8585
Paris.
8686

8787
Contributors
88-
============
88+
------------
8989

9090
This project was really an experiment to see if the Kickstarter
9191
approach to publishing could be applied to a niche technical field
@@ -165,7 +165,7 @@ writing this book to make sure that the layout and graphical design
165165
lived up to sponsors' expectations.
166166

167167
Tools
168-
=====
168+
-----
169169

170170
Building a book like this requires a lot of different tools. My
171171
productivity was amplified enormously by the use of these tools.

text/source/front/dedication.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Dedication
2-
**********
2+
==========
33

44
.. only:: latex
55

text/source/front/preface.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _preface:
22

33
Preface
4-
*******
4+
=======
55

66
This book is a bit unusual in the way it is structured. This is
77
because it is expected that most readers will be reading an HTML

text/source/index.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
You can adapt this file completely to your liking, but it should at least
44
contain the root `toctree` directive.
55
6+
###################
7+
Modelica by Example
8+
###################
9+
10+
611
.. highlight:: modelica
712
:linenothreshold: 5
813

@@ -11,9 +16,9 @@
1116
\frontmatter
1217
\setcounter{secnumdepth}{-1}
1318

14-
############
19+
************
1520
Front Matter
16-
############
21+
************
1722

1823
.. toctree::
1924
:maxdepth: 1
@@ -72,13 +77,13 @@ Indices and tables
7277
##################
7378

7479
* :ref:`genindex`
75-
* :ref:`modindex`
7680
* :ref:`search`
7781

7882
.. ifconfig:: todo_include_todos
7983

84+
*********
8085
TODO List
81-
---------
86+
*********
8287

8388
.. toctree::
8489
:maxdepth: 2

0 commit comments

Comments
 (0)