This repository has been archived by the owner on Oct 13, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
80ed39a
commit aa19cb1
Showing
11 changed files
with
79 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# configuration file for rstcheck, an rst linting tool | ||
# https://rstcheck.readthedocs.io/en/latest/usage/config | ||
|
||
[rstcheck] | ||
ignore_directives = | ||
include, | ||
mdinclude, | ||
todo, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
furo==2023.9.10 | ||
m2r2==0.3.3.post2 | ||
rstcheck[sphinx]==6.2.0 | ||
rstfmt==0.0.14 | ||
Sphinx==7.2.6 | ||
sphinx-copybutton==0.5.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Database | ||
======== | ||
|
||
The database of themes is held in our `ThemerrDB <https://github.com/LizardByte/ThemerrDB>`_ repository. To contribute | ||
The database of themes is held in our `ThemerrDB <https://github.com/LizardByte/ThemerrDB>`__ repository. To contribute | ||
to the database, follow the documentation there. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
Testing | ||
======= | ||
|
||
flake8 | ||
------ | ||
Themerr-jellyfin uses `flake8 <https://pypi.org/project/flake8/>`__ for enforcing consistent code styling. flake8 is | ||
included in the ``requirements-dev.txt``. | ||
|
||
The config file for flake8 is ``.flake8``. This is already included in the root of the repo and should not be modified. | ||
|
||
Test with flake8 | ||
.. code-block:: bash | ||
python -m flake8 | ||
Sphinx | ||
------ | ||
Themerr-jellyfin uses `Sphinx <https://www.sphinx-doc.org/en/master/>`__ for documentation building. Sphinx, along with | ||
other required python dependencies are included in the `./docs/requirements.txt` file. Python is required to build | ||
sphinx docs. Installation and setup of python will not be covered here. | ||
|
||
.. todo:: | ||
Add documentation within C# code to be included in sphinx docs. | ||
|
||
The config file for Sphinx is ``docs/source/conf.py``. This is already included in the root of the repo and should not | ||
be modified. | ||
|
||
Test with Sphinx | ||
.. code-block:: bash | ||
cd docs | ||
make html | ||
Alternatively | ||
|
||
.. code-block:: bash | ||
cd docs | ||
sphinx-build -b html source build | ||
Lint with rstcheck | ||
.. code-block:: bash | ||
rstcheck -r . | ||
Unit Testing | ||
------------ | ||
Themerr-jellyfin uses `xUnit <https://www.nuget.org/packages/xunit>`__ for unit testing. | ||
|
||
Test with xUnit | ||
.. code-block:: bash | ||
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ | |
|
||
contributing/database | ||
contributing/build | ||
contributing/testing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
flake8==6.1.0 | ||
jprm==0.5.1 |