From 3e0caae04134b7f79a216a2c3cf33b5d8687e8f6 Mon Sep 17 00:00:00 2001 From: Eriks K Date: Sat, 23 Oct 2021 16:55:26 +0300 Subject: [PATCH] Doc update --- .github/workflows/pythonpackage.yml | 2 +- CONTRIBUTING.rst | 11 +++----- docs/conf.py | 3 ++- docs/index.html | 40 ++++++++++++++++------------- setup.cfg | 2 +- 5 files changed, 30 insertions(+), 28 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 5e2d4ac..4fa9cd7 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8] + python-version: [3.8, 3.9] steps: - uses: actions/checkout@v2 diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 436841d..cbcd8c4 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -58,10 +58,10 @@ Ready to contribute? Here's how to set up `erepublik` for local development. $ git clone git@github.com:your_name_here/erepublik.git -3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development:: +3. This is how you set up your fork for local development:: - $ mkvirtualenv erepublik $ cd erepublik/ + $ python3 -m venv venv $ python setup.py develop 4. Create a branch for local development:: @@ -73,8 +73,7 @@ Ready to contribute? Here's how to set up `erepublik` for local development. 5. When you're done making changes, check that your changes pass flake8, isort and the tests:: - $ flake8 erepublik tests - $ isort erepublik + $ make lint $ python setup.py test To get flake8 and isort, just pip install them into your virtualenv. @@ -115,8 +114,6 @@ A reminder for the maintainers on how to deploy. Make sure all your changes are committed (including an entry in HISTORY.rst). Then run:: -$ bumpversion patch # possible: major / minor / patch +$ bumpversion patch # possible: major / minor / patch / dev $ git push $ git push --tags - -Travis will then deploy to PyPI if tests pass. diff --git a/docs/conf.py b/docs/conf.py index 72c9f80..af4b009 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -25,6 +25,7 @@ sys.path.insert(0, os.path.abspath("..")) import erepublik import edx_theme +import datetime # -- General configuration --------------------------------------------- @@ -50,7 +51,7 @@ master_doc = "index" # General information about the project. project = "eRepublik script" -copyright = "2019, Eriks Karls" +copyright = "2017-%i, Eriks Karls" % datetime.date.today().year author = "Eriks Karls" # The version info for the project you're documenting, acts as replacement diff --git a/docs/index.html b/docs/index.html index f43b7fc..84bb656 100644 --- a/docs/index.html +++ b/docs/index.html @@ -8,12 +8,10 @@ eBot configuration - - + - - +
@@ -120,57 +118,57 @@
-

Fighting

+

Fighting

- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
@@ -262,7 +260,13 @@
-

+            
+
+
config.json
+
Copy-paste the content below into 'config.json' file
+

+                
+
diff --git a/setup.cfg b/setup.cfg index e6445de..7ebce6f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,7 +29,7 @@ max-line-length = 140 exclude = .git,log,debug,venv, build [mypy] -python_version = 3.8 +python_version = 3.9 check_untyped_defs = True ignore_missing_imports = False warn_unused_ignores = True