Skip to content

Commit 4177170

Browse files
brownandholth
andauthored
Wrote an initial sphinx documentation page (#32)
* Wrote an initial sphinx documentation page * Docs updates: more on wheel tags, how to build the wheel * re-convert to markdown Co-authored-by: Daniel Holth <[email protected]>
1 parent 2b549c5 commit 4177170

File tree

2 files changed

+522
-326
lines changed

2 files changed

+522
-326
lines changed

docs/conf.py

Lines changed: 14 additions & 315 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,18 @@
1-
# -*- coding: utf-8 -*-
1+
# Configuration file for the Sphinx documentation builder.
22
#
3-
# enscons documentation build configuration file, created by
4-
# sphinx-quickstart on Fri Jul 1 19:56:09 2016.
5-
#
6-
# This file is execfile()d with the current directory set to its
7-
# containing dir.
8-
#
9-
# Note that not all possible configuration values are present in this
10-
# autogenerated file.
11-
#
12-
# All configuration values have a default; values that are commented out
13-
# serve to show the default.
3+
# For the full list of built-in configuration values, see the documentation:
4+
# https://www.sphinx-doc.org/en/master/usage/configuration.html
145

15-
# If extensions (or modules to document with autodoc) are in another directory,
16-
# add these directories to sys.path here. If the directory is relative to the
17-
# documentation root, use os.path.abspath to make it absolute, like shown here.
18-
#
19-
# import os
20-
# import sys
21-
# sys.path.insert(0, os.path.abspath('.'))
6+
# -- Project information -----------------------------------------------------
7+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
228

23-
# -- General configuration ------------------------------------------------
9+
project = 'enscons'
10+
copyright = '2023, Daniel Holth & enscons developers'
11+
author = 'Daniel Holth & enscons developers'
12+
release = '0.28.0'
2413

25-
# If your documentation needs a minimal Sphinx version, state it here.
26-
#
27-
# needs_sphinx = '1.0'
14+
# -- General configuration ---------------------------------------------------
15+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
2816

2917
# Add any Sphinx extension module names here, as strings. They can be
3018
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
@@ -34,302 +22,13 @@
3422
'myst_parser',
3523
]
3624

37-
# Add any paths that contain templates here, relative to this directory.
3825
templates_path = ['_templates']
39-
40-
# The suffix(es) of source filenames.
41-
# You can specify multiple suffix as a list of string:
42-
#
43-
# source_suffix = ['.rst', '.md']
44-
source_suffix = '.rst'
45-
46-
# The encoding of source files.
47-
#
48-
# source_encoding = 'utf-8-sig'
49-
50-
# The master toctree document.
51-
master_doc = 'index'
52-
53-
# General information about the project.
54-
project = u'enscons'
55-
copyright = u'2016, Daniel Holth'
56-
author = u'Daniel Holth'
57-
58-
# The version info for the project you're documenting, acts as replacement for
59-
# |version| and |release|, also used in various other places throughout the
60-
# built documents.
61-
#
62-
# The short X.Y version.
63-
version = u'0.0.1'
64-
# The full version, including alpha/beta/rc tags.
65-
release = u'0.0.1'
66-
67-
# The language for content autogenerated by Sphinx. Refer to documentation
68-
# for a list of supported languages.
69-
#
70-
# This is also used if you do content translation via gettext catalogs.
71-
# Usually you set "language" from the command line for these cases.
72-
language = None
73-
74-
# There are two options for replacing |today|: either, you set today to some
75-
# non-false value, then it is used:
76-
#
77-
# today = ''
78-
#
79-
# Else, today_fmt is used as the format for a strftime call.
80-
#
81-
# today_fmt = '%B %d, %Y'
82-
83-
# List of patterns, relative to source directory, that match files and
84-
# directories to ignore when looking for source files.
85-
# This patterns also effect to html_static_path and html_extra_path
8626
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
8727

88-
# The reST default role (used for this markup: `text`) to use for all
89-
# documents.
90-
#
91-
# default_role = None
92-
93-
# If true, '()' will be appended to :func: etc. cross-reference text.
94-
#
95-
# add_function_parentheses = True
96-
97-
# If true, the current module name will be prepended to all description
98-
# unit titles (such as .. function::).
99-
#
100-
# add_module_names = True
101-
102-
# If true, sectionauthor and moduleauthor directives will be shown in the
103-
# output. They are ignored by default.
104-
#
105-
# show_authors = False
106-
107-
# The name of the Pygments (syntax highlighting) style to use.
108-
pygments_style = 'sphinx'
109-
110-
# A list of ignored prefixes for module index sorting.
111-
# modindex_common_prefix = []
11228

113-
# If true, keep warnings as "system message" paragraphs in the built documents.
114-
# keep_warnings = False
11529

116-
# If true, `todo` and `todoList` produce output, else they produce nothing.
117-
todo_include_todos = False
30+
# -- Options for HTML output -------------------------------------------------
31+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
11832

119-
120-
# -- Options for HTML output ----------------------------------------------
121-
122-
# The theme to use for HTML and HTML Help pages. See the documentation for
123-
# a list of builtin themes.
124-
#
125-
html_theme = 'alabaster'
126-
127-
# Theme options are theme-specific and customize the look and feel of a theme
128-
# further. For a list of options available for each theme, see the
129-
# documentation.
130-
#
131-
# html_theme_options = {}
132-
133-
# Add any paths that contain custom themes here, relative to this directory.
134-
# html_theme_path = []
135-
136-
# The name for this set of Sphinx documents.
137-
# "<project> v<release> documentation" by default.
138-
#
139-
# html_title = u'enscons v0.0.1'
140-
141-
# A shorter title for the navigation bar. Default is the same as html_title.
142-
#
143-
# html_short_title = None
144-
145-
# The name of an image file (relative to this directory) to place at the top
146-
# of the sidebar.
147-
#
148-
# html_logo = None
149-
150-
# The name of an image file (relative to this directory) to use as a favicon of
151-
# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
152-
# pixels large.
153-
#
154-
# html_favicon = None
155-
156-
# Add any paths that contain custom static files (such as style sheets) here,
157-
# relative to this directory. They are copied after the builtin static files,
158-
# so a file named "default.css" will overwrite the builtin "default.css".
33+
html_theme = 'furo'
15934
html_static_path = ['_static']
160-
161-
# Add any extra paths that contain custom files (such as robots.txt or
162-
# .htaccess) here, relative to this directory. These files are copied
163-
# directly to the root of the documentation.
164-
#
165-
# html_extra_path = []
166-
167-
# If not None, a 'Last updated on:' timestamp is inserted at every page
168-
# bottom, using the given strftime format.
169-
# The empty string is equivalent to '%b %d, %Y'.
170-
#
171-
# html_last_updated_fmt = None
172-
173-
# If true, SmartyPants will be used to convert quotes and dashes to
174-
# typographically correct entities.
175-
#
176-
# html_use_smartypants = True
177-
178-
# Custom sidebar templates, maps document names to template names.
179-
#
180-
# html_sidebars = {}
181-
182-
# Additional templates that should be rendered to pages, maps page names to
183-
# template names.
184-
#
185-
# html_additional_pages = {}
186-
187-
# If false, no module index is generated.
188-
#
189-
# html_domain_indices = True
190-
191-
# If false, no index is generated.
192-
#
193-
# html_use_index = True
194-
195-
# If true, the index is split into individual pages for each letter.
196-
#
197-
# html_split_index = False
198-
199-
# If true, links to the reST sources are added to the pages.
200-
#
201-
# html_show_sourcelink = True
202-
203-
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
204-
#
205-
# html_show_sphinx = True
206-
207-
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
208-
#
209-
# html_show_copyright = True
210-
211-
# If true, an OpenSearch description file will be output, and all pages will
212-
# contain a <link> tag referring to it. The value of this option must be the
213-
# base URL from which the finished HTML is served.
214-
#
215-
# html_use_opensearch = ''
216-
217-
# This is the file name suffix for HTML files (e.g. ".xhtml").
218-
# html_file_suffix = None
219-
220-
# Language to be used for generating the HTML full-text search index.
221-
# Sphinx supports the following languages:
222-
# 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja'
223-
# 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr', 'zh'
224-
#
225-
# html_search_language = 'en'
226-
227-
# A dictionary with options for the search language support, empty by default.
228-
# 'ja' uses this config value.
229-
# 'zh' user can custom change `jieba` dictionary path.
230-
#
231-
# html_search_options = {'type': 'default'}
232-
233-
# The name of a javascript file (relative to the configuration directory) that
234-
# implements a search results scorer. If empty, the default will be used.
235-
#
236-
# html_search_scorer = 'scorer.js'
237-
238-
# Output file base name for HTML help builder.
239-
htmlhelp_basename = 'ensconsdoc'
240-
241-
# -- Options for LaTeX output ---------------------------------------------
242-
243-
latex_elements = {
244-
# The paper size ('letterpaper' or 'a4paper').
245-
#
246-
# 'papersize': 'letterpaper',
247-
248-
# The font size ('10pt', '11pt' or '12pt').
249-
#
250-
# 'pointsize': '10pt',
251-
252-
# Additional stuff for the LaTeX preamble.
253-
#
254-
# 'preamble': '',
255-
256-
# Latex figure (float) alignment
257-
#
258-
# 'figure_align': 'htbp',
259-
}
260-
261-
# Grouping the document tree into LaTeX files. List of tuples
262-
# (source start file, target name, title,
263-
# author, documentclass [howto, manual, or own class]).
264-
latex_documents = [
265-
(master_doc, 'enscons.tex', u'enscons Documentation',
266-
u'Daniel Holth', 'manual'),
267-
]
268-
269-
# The name of an image file (relative to this directory) to place at the top of
270-
# the title page.
271-
#
272-
# latex_logo = None
273-
274-
# For "manual" documents, if this is true, then toplevel headings are parts,
275-
# not chapters.
276-
#
277-
# latex_use_parts = False
278-
279-
# If true, show page references after internal links.
280-
#
281-
# latex_show_pagerefs = False
282-
283-
# If true, show URL addresses after external links.
284-
#
285-
# latex_show_urls = False
286-
287-
# Documents to append as an appendix to all manuals.
288-
#
289-
# latex_appendices = []
290-
291-
# If false, no module index is generated.
292-
#
293-
# latex_domain_indices = True
294-
295-
296-
# -- Options for manual page output ---------------------------------------
297-
298-
# One entry per manual page. List of tuples
299-
# (source start file, name, description, authors, manual section).
300-
man_pages = [
301-
(master_doc, 'enscons', u'enscons Documentation',
302-
[author], 1)
303-
]
304-
305-
# If true, show URL addresses after external links.
306-
#
307-
# man_show_urls = False
308-
309-
310-
# -- Options for Texinfo output -------------------------------------------
311-
312-
# Grouping the document tree into Texinfo files. List of tuples
313-
# (source start file, target name, title, author,
314-
# dir menu entry, description, category)
315-
texinfo_documents = [
316-
(master_doc, 'enscons', u'enscons Documentation',
317-
author, 'enscons', 'One line description of project.',
318-
'Miscellaneous'),
319-
]
320-
321-
# Documents to append as an appendix to all manuals.
322-
#
323-
# texinfo_appendices = []
324-
325-
# If false, no module index is generated.
326-
#
327-
# texinfo_domain_indices = True
328-
329-
# How to display URL addresses: 'footnote', 'no', or 'inline'.
330-
#
331-
# texinfo_show_urls = 'footnote'
332-
333-
# If true, do not generate a @detailmenu in the "Top" node's menu.
334-
#
335-
# texinfo_no_detailmenu = False

0 commit comments

Comments
 (0)