Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
choldgraf committed Oct 25, 2020
1 parent d95c656 commit ae8f2d4
Showing 1 changed file with 0 additions and 75 deletions.
75 changes: 0 additions & 75 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,78 +54,3 @@
"use_issues_button": True,
"single_page": True,
}


# -- Options for HTMLHelp output ---------------------------------------------

# Output file base name for HTML help builder.
htmlhelp_basename = "SphinxCopybuttondoc"


# -- Options for LaTeX output ------------------------------------------------

latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#
# 'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
#
# 'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
#
# 'preamble': '',
# Latex figure (float) alignment
#
# 'figure_align': 'htbp',
}

# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(
master_doc,
"SphinxCopybutton.tex",
"Sphinx Copybutton Documentation",
"Chris Holdgraf",
"manual",
),
]


# -- Options for manual page output ------------------------------------------

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, "sphinxcopybutton", "Sphinx Copybutton Documentation", [author], 1)
]


# -- Options for Texinfo output ----------------------------------------------

# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(
master_doc,
"SphinxCopybutton",
"Sphinx Copybutton Documentation",
author,
"SphinxCopybutton",
"One line description of project.",
"Miscellaneous",
),
]


def check_pages(app, pagename, templatename, context, doctree):
print(pagename)
if pagename not in ["contribute"]:
return True


def setup(app):
app.add_js_file("https://google.js", condition=check_pages)
app.add_js_file("hi.js")

0 comments on commit ae8f2d4

Please sign in to comment.