Skip to content

Commit

Permalink
Update ReadTheDocs configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
r3c committed Apr 20, 2024
1 parent 47c089a commit 11a2d96
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 199 deletions.
16 changes: 7 additions & 9 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

version: 2
build:
os: ubuntu-22.04

sphinx:
configuration: docs/conf.py
tools:
python: "3.12"

formats: all
sphinx:
configuration: doc/conf.py

python:
version: 3.7
install:
- requirements: docs/requirements.pip
- requirements: doc/requirements.txt
23 changes: 10 additions & 13 deletions docs/conf.py → doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@
https://docutils.sourceforge.net/docs/user/rst/quickref.html
"""

import sys
import os

extensions = [
'sphinx_csharp.csharp',
'sphinx_rtd_theme'
'sphinx_csharp.csharp',
'sphinx_rtd_theme'
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -46,7 +43,7 @@
html_theme = 'sphinx_rtd_theme'
html_theme_path = ['_themes']
html_theme_options = {
'style_external_links': True
'style_external_links': True
}

html_logo = '../res/icon.png'
Expand All @@ -63,22 +60,22 @@
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
('index', 'Cottle.tex', u'Cottle Documentation',
u'Cottle', 'manual'),
('index', 'Cottle.tex', u'Cottle Documentation',
u'Cottle', 'manual'),
]

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'cottle', u'Cottle Documentation',
[u'Cottle'], 1)
('index', 'cottle', u'Cottle Documentation',
[u'Cottle'], 1)
]

# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', 'Cottle', u'Cottle Documentation',
u'Cottle', 'Cottle', 'Cottle Documentation.',
'Miscellaneous'),
('index', 'Cottle', u'Cottle Documentation',
u'Cottle', 'Cottle', 'Cottle Documentation.',
'Miscellaneous'),
]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
177 changes: 0 additions & 177 deletions docs/Makefile

This file was deleted.

0 comments on commit 11a2d96

Please sign in to comment.