Skip to content

Commit

Permalink
Update conf.py to satisfy pre-commit
Browse files Browse the repository at this point in the history
Signed-off-by: John Pennycook <[email protected]>
  • Loading branch information
Pennycook committed Jul 10, 2024
1 parent be484f9 commit b8f4ef4
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
#
# Configuration file for the Sphinx documentation builder.
#
Expand Down Expand Up @@ -135,9 +134,11 @@
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'p3-analysis-library.tex',
'P3 Analysis Library Documentation',
'Intel Corporation', 'manual'),
(
master_doc, 'p3-analysis-library.tex',
'P3 Analysis Library Documentation',
'Intel Corporation', 'manual',
),
]


Expand All @@ -146,8 +147,10 @@
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'p3-analysis-library', 'P3 Analysis Library Documentation',
[author], 1)
(
master_doc, 'p3-analysis-library', 'P3 Analysis Library Documentation',
[author], 1,
),
]


Expand All @@ -157,10 +160,12 @@
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'p3-analysis-library', 'P3 Analysis Library Documentation',
author, 'p3-analysis-library',
'A library simplifying the collection and interpretation of P3 data.',
'Miscellaneous'),
(
master_doc, 'p3-analysis-library', 'P3 Analysis Library Documentation',
author, 'p3-analysis-library',
'A library simplifying the collection and interpretation of P3 data.',
'Miscellaneous',
),
]


Expand All @@ -186,7 +191,8 @@

from sphinx_gallery.scrapers import matplotlib_scraper

class tight_scraper(object):

class tight_scraper:

def __repr__(self):
return self.__class__.__name__
Expand All @@ -197,7 +203,7 @@ def __call__(self, *args, **kwargs):
sphinx_gallery_conf = {
'examples_dirs': ['../../examples','../../case-studies'],
'gallery_dirs': ['examples','case-studies'],
'image_scrapers': (tight_scraper(), ),
'image_scrapers': (tight_scraper(),),
}

intersphinx_mapping = {
Expand Down

0 comments on commit b8f4ef4

Please sign in to comment.