Add READme docs

This commit is contained in:
Степаненко Ольга
2021-04-15 14:43:54 +03:00
parent df97d170bf
commit d3471331b1
8 changed files with 136 additions and 104 deletions

View File

@@ -6,7 +6,7 @@ Models
*******
.. automodule:: main.models
:members:
:members:
******

View File

@@ -114,12 +114,15 @@ def skip_queryset(app, what, name, obj, skip, options):
return True
return skip
def fix_sig(app, what, name, obj, options, signature, return_annotation):
return ("", "")
# def setup(app):
# # Register the docstring processor with sphinx
# app.connect('autodoc-process-docstring', process_django_models)
# app.connect('autodoc-skip-member', skip_queryset)
# app.connect('autodoc-process-docstring', process_modules)
def setup(app):
# Register the docstring processor with sphinx
app.connect('autodoc-process-docstring', process_django_models)
app.connect('autodoc-skip-member', skip_queryset)
app.connect('autodoc-process-docstring', process_modules)
app.connect("autodoc-process-signature", fix_sig)
@@ -181,7 +184,7 @@ intersphinx_mapping = {
}
autodoc_default_flags = ['members']
autodoc_typehints = "none"
autodoc_typehints = "description"
# spell checking
spelling_lang = 'ru_RU'

View File

@@ -12,6 +12,7 @@
overview
code
readme
todo

4
docs/source/readme.rst Normal file
View File

@@ -0,0 +1,4 @@
READ.me
==================
.. include:: ../../README.md

View File

@@ -45,7 +45,9 @@ start
end
date
Токен
токен
токеном
токену
аутентифицирован
(datetime.time)
datetime
@@ -82,7 +84,23 @@ Serializer
Serializers
Сериализатор
переадресации
чекбоксов
админских
админские
Python
Docker
докер
докера
Докер
репозиторий
zendesk-access-controller/db
-e
-v
e
v
zendesk
db
юзерами
Read
Zenpy