Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-Core
Commits
68606da2
Verified
Commit
68606da2
authored
4 years ago
by
Tom Teichler
Browse files
Options
Downloads
Patches
Plain Diff
[Reformat] black
parent
eed37e4c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
aleksis/core/admin.py
+1
-1
1 addition, 1 deletion
aleksis/core/admin.py
docs/conf.py
+37
-36
37 additions, 36 deletions
docs/conf.py
manage.py
+2
-2
2 additions, 2 deletions
manage.py
with
40 additions
and
39 deletions
aleksis/core/admin.py
+
1
−
1
View file @
68606da2
#noqa
#
noqa
from
django.contrib
import
admin
...
...
This diff is collapsed.
Click to expand it.
docs/conf.py
+
37
−
36
View file @
68606da2
...
...
@@ -15,22 +15,22 @@
import
django
import
os
import
sys
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'
..
'
))
os
.
environ
[
'
DJANGO_SETTINGS_MODULE
'
]
=
'
aleksis.core.settings
'
os
.
environ
[
'
LOCAL
_SETTINGS_
FI
LE
'
]
=
os
.
path
.
abspath
(
os
.
path
.
join
(
'
..
'
,
'
local.cfg
'
))
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
"
..
"
))
os
.
environ
[
"
DJANGO
_SETTINGS_
MODU
LE
"
]
=
"
aleksis.core.settings
"
os
.
environ
[
"
LOCAL_SETTINGS_FILE
"
]
=
os
.
path
.
abspath
(
os
.
path
.
join
(
"
..
"
,
"
local.cfg
"
))
django
.
setup
()
# -- Project information -----------------------------------------------------
project
=
'
AlekSIS
'
copyright
=
'
2019, 2020, AlekSIS team
'
author
=
'
AlekSIS team
'
project
=
"
AlekSIS
"
copyright
=
"
2019, 2020, AlekSIS team
"
author
=
"
AlekSIS team
"
# The short X.Y version
version
=
'
2.0
'
version
=
"
2.0
"
# The full version, including alpha/beta/rc tags
release
=
'
2.0a1
'
release
=
"
2.0a1
"
# -- General configuration ---------------------------------------------------
...
...
@@ -43,24 +43,24 @@ release = '2.0a1'
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions
=
[
'
sphinx.ext.autodoc
'
,
'
sphinxcontrib_django
'
,
'
sphinx_autodoc_typehints
'
,
'
sphinx.ext.intersphinx
'
,
'
sphinx.ext.viewcode
'
,
"
sphinx.ext.autodoc
"
,
"
sphinxcontrib_django
"
,
"
sphinx_autodoc_typehints
"
,
"
sphinx.ext.intersphinx
"
,
"
sphinx.ext.viewcode
"
,
]
# Add any paths that contain templates here, relative to this directory.
templates_path
=
[
'
_templates
'
]
templates_path
=
[
"
_templates
"
]
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
# source_suffix = ['.rst', '.md']
source_suffix
=
'
.rst
'
source_suffix
=
"
.rst
"
# The master toctree document.
master_doc
=
'
index
'
master_doc
=
"
index
"
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
...
...
@@ -72,7 +72,7 @@ language = None
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns
=
[
'
_build
'
,
'
Thumbs.db
'
,
'
.DS_Store
'
]
exclude_patterns
=
[
"
_build
"
,
"
Thumbs.db
"
,
"
.DS_Store
"
]
# The name of the Pygments (syntax highlighting) style to use.
pygments_style
=
None
...
...
@@ -83,7 +83,7 @@ pygments_style = None
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme
=
'
alabaster
'
html_theme
=
"
alabaster
"
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
...
...
@@ -94,7 +94,7 @@ html_theme = 'alabaster'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path
=
[
'
_static
'
]
html_static_path
=
[
"
_static
"
]
# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
...
...
@@ -110,7 +110,7 @@ html_static_path = ['_static']
# -- Options for HTMLHelp output ---------------------------------------------
# Output file base name for HTML help builder.
htmlhelp_basename
=
'
AlekSISdoc
'
htmlhelp_basename
=
"
AlekSISdoc
"
# -- Options for LaTeX output ------------------------------------------------
...
...
@@ -119,15 +119,12 @@ 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',
...
...
@@ -137,8 +134,7 @@ latex_elements = {
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents
=
[
(
master_doc
,
'
AlekSIS.tex
'
,
'
AlekSIS Documentation
'
,
'
AlekSIS team
'
,
'
manual
'
),
(
master_doc
,
"
AlekSIS.tex
"
,
"
AlekSIS Documentation
"
,
"
AlekSIS team
"
,
"
manual
"
),
]
...
...
@@ -146,10 +142,7 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages
=
[
(
master_doc
,
'
aleksis
'
,
'
AlekSIS Documentation
'
,
[
author
],
1
)
]
man_pages
=
[(
master_doc
,
"
aleksis
"
,
"
AlekSIS Documentation
"
,
[
author
],
1
)]
# -- Options for Texinfo output ----------------------------------------------
...
...
@@ -158,9 +151,15 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents
=
[
(
master_doc
,
'
AlekSIS
'
,
'
AlekSIS Documentation
'
,
author
,
'
AlekSIS
'
,
'
One line description of project.
'
,
'
Miscellaneous
'
),
(
master_doc
,
"
AlekSIS
"
,
"
AlekSIS Documentation
"
,
author
,
"
AlekSIS
"
,
"
One line description of project.
"
,
"
Miscellaneous
"
,
),
]
...
...
@@ -179,7 +178,7 @@ epub_title = project
# epub_uid = ''
# A list of files that should not be packed into the epub file.
epub_exclude_files
=
[
'
search.html
'
]
epub_exclude_files
=
[
"
search.html
"
]
# -- Extension configuration -------------------------------------------------
...
...
@@ -187,5 +186,7 @@ epub_exclude_files = ['search.html']
# -- Options for intersphinx extension ---------------------------------------
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping
=
{
'
https://docs.python.org/
'
:
None
,
'
https://docs.djangoproject.com/en/stable
'
:
'
https://docs.djangoproject.com/en/stable/_objects
'
}
intersphinx_mapping
=
{
"
https://docs.python.org/
"
:
None
,
"
https://docs.djangoproject.com/en/stable
"
:
"
https://docs.djangoproject.com/en/stable/_objects
"
,
}
This diff is collapsed.
Click to expand it.
manage.py
+
2
−
2
View file @
68606da2
...
...
@@ -2,8 +2,8 @@
import
os
import
sys
if
__name__
==
'
__main__
'
:
os
.
environ
.
setdefault
(
'
DJANGO_SETTINGS_MODULE
'
,
'
aleksis.core.settings
'
)
if
__name__
==
"
__main__
"
:
os
.
environ
.
setdefault
(
"
DJANGO_SETTINGS_MODULE
"
,
"
aleksis.core.settings
"
)
try
:
from
django.core.management
import
execute_from_command_line
except
ImportError
as
exc
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment