|
1 |
| -# Configuration file for the Sphinx documentation builder. |
| 1 | +#!/usr/bin/env python |
| 2 | +# -*- coding: utf-8 -*- |
| 3 | +# |
| 4 | +# Documentation build configuration file. |
| 5 | +# This file must be stored at the root directory with name "conf.py". |
| 6 | +# |
2 | 7 |
|
3 |
| -# -- Project information |
| 8 | +import darshan |
4 | 9 |
|
| 10 | +# -- General configuration --------------------------------------------- |
| 11 | + |
| 12 | +# If your documentation needs a minimal Sphinx version, state it here. |
| 13 | +# |
| 14 | +# needs_sphinx = '1.0' |
| 15 | + |
| 16 | +# Add any Sphinx extension module names here, as strings. They can be |
| 17 | +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
| 18 | +extensions = [ |
| 19 | + 'sphinx.ext.autodoc', |
| 20 | + 'sphinx.ext.viewcode', |
| 21 | + 'sphinx.ext.intersphinx', |
| 22 | + 'sphinx.ext.napoleon', |
| 23 | +] |
| 24 | + |
| 25 | + |
| 26 | +napoleon_google_docstring = True |
| 27 | +napoleon_numpy_docstring = False |
| 28 | +napoleon_include_init_with_doc = True |
| 29 | +napoleon_include_private_with_doc = True |
| 30 | +napoleon_include_special_with_doc = True |
| 31 | +napoleon_use_ivar = True |
| 32 | + |
| 33 | +# Add any paths that contain templates here, relative to this directory. |
| 34 | +templates_path = ['_templates'] |
| 35 | + |
| 36 | +# The suffix(es) of source filenames. |
| 37 | +# You can specify multiple suffix as a list of string: |
| 38 | +# |
| 39 | +# source_suffix = ['.rst', '.md'] |
| 40 | +source_suffix = {'.rst': 'restructuredtext'} |
| 41 | + |
| 42 | +# The master toctree document. |
| 43 | +master_doc = 'index' |
| 44 | + |
| 45 | +# General information about the project. |
5 | 46 | project = u'Darshan'
|
6 | 47 | copyright = u"2025, Argonne National Laboratory"
|
7 | 48 | author = u""
|
8 | 49 |
|
9 |
| -release = '0.1' |
10 |
| -version = '0.1.0' |
| 50 | +# The version info for the project you're documenting, acts as replacement |
| 51 | +# for |version| and |release|, also used in various other places throughout |
| 52 | +# the built documents. |
| 53 | +# |
| 54 | +# The short X.Y version. |
| 55 | +version = darshan.__version__ |
| 56 | +# The full version, including alpha/beta/rc tags. |
| 57 | +release = darshan.__version__ |
11 | 58 |
|
12 |
| -# -- General configuration |
| 59 | +# List of patterns, relative to source directory, that match files and |
| 60 | +# directories to ignore when looking for source files. |
| 61 | +# This patterns also effect to html_static_path and html_extra_path |
| 62 | +exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
13 | 63 |
|
14 |
| -extensions = [ |
15 |
| - 'sphinx.ext.duration', |
16 |
| - 'sphinx.ext.doctest', |
17 |
| - 'sphinx.ext.autodoc', |
18 |
| - 'sphinx.ext.autosummary', |
19 |
| - 'sphinx.ext.intersphinx', |
| 64 | +# The name of the Pygments (syntax highlighting) style to use. |
| 65 | +pygments_style = 'sphinx' |
| 66 | + |
| 67 | +# If true, `todo` and `todoList` produce output, else they produce nothing. |
| 68 | +todo_include_todos = False |
| 69 | + |
| 70 | + |
| 71 | +# -- Options for HTML output ------------------------------------------- |
| 72 | + |
| 73 | +# The theme to use for HTML and HTML Help pages. See the documentation for |
| 74 | +# a list of builtin themes. |
| 75 | +# |
| 76 | +#html_theme = 'alabaster' |
| 77 | +html_theme = 'sphinx_rtd_theme' |
| 78 | + |
| 79 | +# Theme options are theme-specific and customize the look and feel of a |
| 80 | +# theme further. For a list of options available for each theme, see the |
| 81 | +# documentation. |
| 82 | +# |
| 83 | +# html_theme_options = {} |
| 84 | + |
| 85 | +# -- Options for HTMLHelp output --------------------------------------- |
| 86 | + |
| 87 | +# Output file base name for HTML help builder. |
| 88 | +htmlhelp_basename = 'darshandoc' |
| 89 | + |
| 90 | +# -- Options for LaTeX output ------------------------------------------ |
| 91 | + |
| 92 | +latex_elements = { |
| 93 | + # The paper size ('letterpaper' or 'a4paper'). |
| 94 | + # |
| 95 | + # 'papersize': 'letterpaper', |
| 96 | + |
| 97 | + # The font size ('10pt', '11pt' or '12pt'). |
| 98 | + # |
| 99 | + # 'pointsize': '10pt', |
| 100 | + |
| 101 | + # Additional stuff for the LaTeX preamble. |
| 102 | + # |
| 103 | + # 'preamble': '', |
| 104 | + |
| 105 | + # Latex figure (float) alignment |
| 106 | + # |
| 107 | + # 'figure_align': 'htbp', |
| 108 | +} |
| 109 | + |
| 110 | +# Grouping the document tree into LaTeX files. List of tuples |
| 111 | +# (source start file, target name, title, author, documentclass |
| 112 | +# [howto, manual, or own class]). |
| 113 | +latex_documents = [ |
| 114 | + (master_doc, 'darshan.tex', u'Darshan Documentation', u'Argonne National Laboratory', 'manual'), |
20 | 115 | ]
|
21 | 116 |
|
| 117 | +# -- Options for Texinfo output ---------------------------------------- |
| 118 | + |
| 119 | +# Grouping the document tree into Texinfo files. List of tuples |
| 120 | +# (source start file, target name, title, author, |
| 121 | +# dir menu entry, description, category) |
| 122 | +texinfo_documents = [ |
| 123 | + (master_doc, 'darshan', u'Darshan Documentation', author, 'darshan', 'Utilities for Darshan HPC I/O instrumentation.', 'Miscellaneous'), |
| 124 | +] |
| 125 | + |
| 126 | + |
22 | 127 | intersphinx_mapping = {
|
23 |
| - 'python': ('https://docs.python.org/3/', None), |
24 |
| - 'sphinx': ('https://www.sphinx-doc.org/en/master/', None), |
| 128 | + "python": ('https://docs.python.org/', None), |
| 129 | + "matplotlib": ("https://matplotlib.org", None), |
25 | 130 | }
|
26 |
| -intersphinx_disabled_domains = ['std'] |
27 |
| - |
28 |
| -templates_path = ['_templates'] |
29 | 131 |
|
0 commit comments