Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
redsem
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mauricio Alejandro Prieto Palacios
redsem
Commits
7e3d1479
Commit
7e3d1479
authored
Feb 09, 2023
by
alejandro77palacios
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configuración de documentación
parent
56f409e6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
101 additions
and
0 deletions
+101
-0
.readthedocs.yaml
+20
-0
docs/conf.py
+59
-0
docs/index.rst
+22
-0
No files found.
.readthedocs.yaml
0 → 100644
View file @
7e3d1479
version
:
2
sphinx
:
configuration
:
docs/conf.py
formats
:
-
htmlzip
build
:
os
:
ubuntu-20.04
tools
:
python
:
"
3.10"
python
:
install
:
-
method
:
pip
path
:
.
\ No newline at end of file
docs/conf.py
0 → 100644
View file @
7e3d1479
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
import
os
from
importlib
import
metadata
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project
=
'redsem'
copyright
=
'2023, Alejandro Prieto Palacios'
author
=
'Alejandro Prieto Palacios'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions
=
[
'sphinx.ext.autodoc'
,
'sphinx.ext.autodoc.typehints'
,
'sphinx.ext.napoleon'
,
'numpydoc'
]
templates_path
=
[
'_templates'
]
exclude_patterns
=
[
'_build'
,
'Thumbs.db'
,
'.DS_Store'
]
language
=
'es'
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme
=
'alabaster'
html_static_path
=
[
'_static'
]
if
os
.
environ
.
get
(
"READTHEDOCS"
)
==
"True"
:
from
pathlib
import
Path
PROJECT_ROOT
=
Path
(
__file__
)
.
parent
.
parent
PACKAGE_ROOT
=
PROJECT_ROOT
/
"src"
/
"redsem"
def
run_apidoc
(
_
):
from
sphinx.ext
import
apidoc
apidoc
.
main
([
"--force"
,
"--implicit-namespaces"
,
"--module-first"
,
"--separate"
,
"-o"
,
str
(
PROJECT_ROOT
/
"docs"
/
"reference"
),
str
(
PACKAGE_ROOT
),
str
(
PACKAGE_ROOT
/
"*.c"
),
str
(
PACKAGE_ROOT
/
"*.so"
),
])
def
setup
(
app
):
app
.
connect
(
'builder-inited'
,
run_apidoc
)
docs/index.rst
0 → 100644
View file @
7e3d1479
.. redsem documentation master file, created by
sphinx-quickstart on Wed Feb 8 21:36:49 2023.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to redsem's documentation!
==================================
.. toctree::
:maxdepth: 2
:caption: Contents:
reference/modules.rst
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment