From cd6c21bd33494d6ad3e6f76aa7480b5045c52e4c Mon Sep 17 00:00:00 2001 From: GDeLaurentis Date: Fri, 7 Jun 2024 11:37:59 +0100 Subject: [PATCH] Copying fix for Docs depolyment from tag; minor changes to setup and sphinx. --- .github/workflows/cd_docs.yml | 2 ++ setup.py | 7 ++++++- sphinx/source/conf.py | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd_docs.yml b/.github/workflows/cd_docs.yml index 64aab0f..4e024c0 100644 --- a/.github/workflows/cd_docs.yml +++ b/.github/workflows/cd_docs.yml @@ -45,6 +45,8 @@ jobs: echo "fetching..." git fetch git reset --hard + echo "checking out main..." + git checkout main echo "checking out gh-pages..." git checkout gh-pages rm -r docs/ diff --git a/setup.py b/setup.py index 7b0f0e1..6e9e5f3 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,12 @@ author_email='g.dl@hotmail.it', url='https://github.com/GDeLaurentis/syngular', download_url=f'https://github.com/GDeLaurentis/syngular/archive/{version}.tar.gz', - keywords=['syngular', 'singular', 'algebraic geometry'], + project_urls={ + 'Documentation': 'https://gdelaurentis.github.io/syngular/', + 'Issues': 'https://github.com/GDeLaurentis/syngular/issues', + }, + keywords=['syngular', 'singular', 'algebraic geometry', 'ring', 'ideal', + 'polynomials', 'polynomial equations'], packages=find_packages(), install_requires=[ 'numpy', diff --git a/sphinx/source/conf.py b/sphinx/source/conf.py index 0192710..4f07732 100644 --- a/sphinx/source/conf.py +++ b/sphinx/source/conf.py @@ -17,7 +17,7 @@ sys.path.insert(0, os.path.abspath('../../')) -from version import __version__ as version +from version import __version__ as version # noqa # -- Project information -----------------------------------------------------