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
No related tags found
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
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 @@
...
@@ -15,22 +15,22 @@
import
django
import
django
import
os
import
os
import
sys
import
sys
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'
..
'
))
os
.
environ
[
'
DJANGO_SETTINGS_MODULE
'
]
=
'
aleksis.core.settings
'
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
"
..
"
))
os
.
environ
[
'
LOCAL
_SETTINGS_
FI
LE
'
]
=
os
.
path
.
abspath
(
os
.
environ
[
"
DJANGO
_SETTINGS_
MODU
LE
"
]
=
"
aleksis.core.settings
"
os
.
path
.
join
(
'
..
'
,
'
local.cfg
'
))
os
.
environ
[
"
LOCAL_SETTINGS_FILE
"
]
=
os
.
path
.
abspath
(
os
.
path
.
join
(
"
..
"
,
"
local.cfg
"
))
django
.
setup
()
django
.
setup
()
# -- Project information -----------------------------------------------------
# -- Project information -----------------------------------------------------
project
=
'
AlekSIS
'
project
=
"
AlekSIS
"
copyright
=
'
2019, 2020, AlekSIS team
'
copyright
=
"
2019, 2020, AlekSIS team
"
author
=
'
AlekSIS team
'
author
=
"
AlekSIS team
"
# The short X.Y version
# The short X.Y version
version
=
'
2.0
'
version
=
"
2.0
"
# The full version, including alpha/beta/rc tags
# The full version, including alpha/beta/rc tags
release
=
'
2.0a1
'
release
=
"
2.0a1
"
# -- General configuration ---------------------------------------------------
# -- General configuration ---------------------------------------------------
...
@@ -43,24 +43,24 @@ release = '2.0a1'
...
@@ -43,24 +43,24 @@ release = '2.0a1'
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
# ones.
extensions
=
[
extensions
=
[
'
sphinx.ext.autodoc
'
,
"
sphinx.ext.autodoc
"
,
'
sphinxcontrib_django
'
,
"
sphinxcontrib_django
"
,
'
sphinx_autodoc_typehints
'
,
"
sphinx_autodoc_typehints
"
,
'
sphinx.ext.intersphinx
'
,
"
sphinx.ext.intersphinx
"
,
'
sphinx.ext.viewcode
'
,
"
sphinx.ext.viewcode
"
,
]
]
# Add any paths that contain templates here, relative to this directory.
# Add any paths that contain templates here, relative to this directory.
templates_path
=
[
'
_templates
'
]
templates_path
=
[
"
_templates
"
]
# The suffix(es) of source filenames.
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
# You can specify multiple suffix as a list of string:
#
#
# source_suffix = ['.rst', '.md']
# source_suffix = ['.rst', '.md']
source_suffix
=
'
.rst
'
source_suffix
=
"
.rst
"
# The master toctree document.
# The master toctree document.
master_doc
=
'
index
'
master_doc
=
"
index
"
# The language for content autogenerated by Sphinx. Refer to documentation
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# for a list of supported languages.
...
@@ -72,7 +72,7 @@ language = None
...
@@ -72,7 +72,7 @@ language = None
# List of patterns, relative to source directory, that match files and
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
# 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.
# The name of the Pygments (syntax highlighting) style to use.
pygments_style
=
None
pygments_style
=
None
...
@@ -83,7 +83,7 @@ pygments_style = None
...
@@ -83,7 +83,7 @@ pygments_style = None
# The theme to use for HTML and HTML Help pages. See the documentation for
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
# 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
# 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
# further. For a list of options available for each theme, see the
...
@@ -94,7 +94,7 @@ html_theme = 'alabaster'
...
@@ -94,7 +94,7 @@ html_theme = 'alabaster'
# Add any paths that contain custom static files (such as style sheets) here,
# 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,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
# 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
# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
# to template names.
...
@@ -110,7 +110,7 @@ html_static_path = ['_static']
...
@@ -110,7 +110,7 @@ html_static_path = ['_static']
# -- Options for HTMLHelp output ---------------------------------------------
# -- Options for HTMLHelp output ---------------------------------------------
# Output file base name for HTML help builder.
# Output file base name for HTML help builder.
htmlhelp_basename
=
'
AlekSISdoc
'
htmlhelp_basename
=
"
AlekSISdoc
"
# -- Options for LaTeX output ------------------------------------------------
# -- Options for LaTeX output ------------------------------------------------
...
@@ -119,15 +119,12 @@ latex_elements = {
...
@@ -119,15 +119,12 @@ latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
# The paper size ('letterpaper' or 'a4paper').
#
#
# 'papersize': 'letterpaper',
# 'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
# The font size ('10pt', '11pt' or '12pt').
#
#
# 'pointsize': '10pt',
# 'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
# Additional stuff for the LaTeX preamble.
#
#
# 'preamble': '',
# 'preamble': '',
# Latex figure (float) alignment
# Latex figure (float) alignment
#
#
# 'figure_align': 'htbp',
# 'figure_align': 'htbp',
...
@@ -137,8 +134,7 @@ latex_elements = {
...
@@ -137,8 +134,7 @@ latex_elements = {
# (source start file, target name, title,
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
# author, documentclass [howto, manual, or own class]).
latex_documents
=
[
latex_documents
=
[
(
master_doc
,
'
AlekSIS.tex
'
,
'
AlekSIS Documentation
'
,
(
master_doc
,
"
AlekSIS.tex
"
,
"
AlekSIS Documentation
"
,
"
AlekSIS team
"
,
"
manual
"
),
'
AlekSIS team
'
,
'
manual
'
),
]
]
...
@@ -146,10 +142,7 @@ latex_documents = [
...
@@ -146,10 +142,7 @@ latex_documents = [
# One entry per manual page. List of tuples
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
# (source start file, name, description, authors, manual section).
man_pages
=
[
man_pages
=
[(
master_doc
,
"
aleksis
"
,
"
AlekSIS Documentation
"
,
[
author
],
1
)]
(
master_doc
,
'
aleksis
'
,
'
AlekSIS Documentation
'
,
[
author
],
1
)
]
# -- Options for Texinfo output ----------------------------------------------
# -- Options for Texinfo output ----------------------------------------------
...
@@ -158,9 +151,15 @@ man_pages = [
...
@@ -158,9 +151,15 @@ man_pages = [
# (source start file, target name, title, author,
# (source start file, target name, title, author,
# dir menu entry, description, category)
# dir menu entry, description, category)
texinfo_documents
=
[
texinfo_documents
=
[
(
master_doc
,
'
AlekSIS
'
,
'
AlekSIS Documentation
'
,
(
author
,
'
AlekSIS
'
,
'
One line description of project.
'
,
master_doc
,
'
Miscellaneous
'
),
"
AlekSIS
"
,
"
AlekSIS Documentation
"
,
author
,
"
AlekSIS
"
,
"
One line description of project.
"
,
"
Miscellaneous
"
,
),
]
]
...
@@ -179,7 +178,7 @@ epub_title = project
...
@@ -179,7 +178,7 @@ epub_title = project
# epub_uid = ''
# epub_uid = ''
# A list of files that should not be packed into the epub file.
# 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 -------------------------------------------------
# -- Extension configuration -------------------------------------------------
...
@@ -187,5 +186,7 @@ epub_exclude_files = ['search.html']
...
@@ -187,5 +186,7 @@ epub_exclude_files = ['search.html']
# -- Options for intersphinx extension ---------------------------------------
# -- Options for intersphinx extension ---------------------------------------
# Example configuration for intersphinx: refer to the Python standard library.
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping
=
{
'
https://docs.python.org/
'
:
None
,
intersphinx_mapping
=
{
'
https://docs.djangoproject.com/en/stable
'
:
'
https://docs.djangoproject.com/en/stable/_objects
'
}
"
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 @@
...
@@ -2,8 +2,8 @@
import
os
import
os
import
sys
import
sys
if
__name__
==
'
__main__
'
:
if
__name__
==
"
__main__
"
:
os
.
environ
.
setdefault
(
'
DJANGO_SETTINGS_MODULE
'
,
'
aleksis.core.settings
'
)
os
.
environ
.
setdefault
(
"
DJANGO_SETTINGS_MODULE
"
,
"
aleksis.core.settings
"
)
try
:
try
:
from
django.core.management
import
execute_from_command_line
from
django.core.management
import
execute_from_command_line
except
ImportError
as
exc
:
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