Skip to content

Commit

Permalink
Removed other output than HTML, new intial file name
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Ricciardi committed Sep 29, 2023
1 parent 32e994b commit 55896c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 72 deletions.
75 changes: 5 additions & 70 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@
source_suffix = {'.rst': 'restructuredtext'}

# The master toctree document.
master_doc = 'index'
root_doc = 'contents'

# If true, Sphinx will warn about all references where the target cannot be found.
# Default is False.
nitpicky = True


# The default language to highlight source code in.
Expand Down Expand Up @@ -122,75 +126,6 @@
htmlhelp_basename = 'datetime2doc'


# -- 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, 'datetime2.tex', 'datetime2 Documentation',
'Francesco Ricciardi', '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, 'datetime2', 'datetime2 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, 'datetime2', 'datetime2 Documentation',
author, 'datetime2', 'One line description of project.',
'Miscellaneous'),
]


# -- Options for Epub output -------------------------------------------------

# Bibliographic Dublin Core info.
epub_title = project

# The unique identifier of the text. This can be a ISBN number
# or the project homepage.
#
# epub_identifier = ''

# A unique identification for the text.
#
# epub_uid = ''

# A list of files that should not be packed into the epub file.
epub_exclude_files = ['search.html']


# -- Extension configuration -------------------------------------------------

# -- Options for intersphinx extension ---------------------------------------
Expand Down
3 changes: 1 addition & 2 deletions docs/contents.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
.. currentmodule:: datetime2
.. testsetup::

Expand Down Expand Up @@ -87,7 +86,7 @@ The relation between time objects can be either implicit, i.e. depending on
implementation, or explicit, which means that the objects know how they
relate to each other. Then standard way for the latter is with UTC. An object
of the first kind is said to be *naive*, of the second kind is called *aware*
(like in :ref:`datetime-naive-aware` of the :mod:`datetime2` module). For
(like in :ref:`datetime-naive-aware` of the :mod:`datetime` module). For
aware objects a second value is used in the constructor to indicate the
distance from UTC.

Expand Down

0 comments on commit 55896c0

Please sign in to comment.