Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: Switch to sphinx-theme-builder #469

Merged
merged 27 commits into from
Jan 25, 2022
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
7d5616e
using sphinx-theme-builder
AakashGfude Jan 18, 2022
bb19e68
correcting init and removing theme_dev_mode
AakashGfude Jan 19, 2022
892a3f4
removing manifest check
AakashGfude Jan 19, 2022
b1aa911
using tox instead of nox
AakashGfude Jan 19, 2022
939db94
commenting test for translations for now
AakashGfude Jan 21, 2022
599a680
tests workflow
AakashGfude Jan 21, 2022
91a82c1
updating git workflow
AakashGfude Jan 21, 2022
80423c7
tox.ini update
AakashGfude Jan 21, 2022
d85f0e4
including *.mo files in MANIFEST for now
AakashGfude Jan 21, 2022
1748b46
specifying path to test in pyproject
AakashGfude Jan 21, 2022
ac4b9c1
moved translations to the src/sphinx_book_theme folder
AakashGfude Jan 23, 2022
fba1425
reverting changes made to pre-commit as not necessary in this PR
AakashGfude Jan 23, 2022
48bb621
removed MANIFEST file
AakashGfude Jan 23, 2022
af82599
changes necessary after rebasing
AakashGfude Jan 24, 2022
4fb5154
margin styles
AakashGfude Jan 24, 2022
a30c858
javascript corrections, code/compilation
AakashGfude Jan 24, 2022
8627fbe
javascript corrections
AakashGfude Jan 24, 2022
fb5ed0a
updated contributing guide, and removed
AakashGfude Jan 25, 2022
83e0226
Update tox.ini
AakashGfude Jan 25, 2022
80d0955
deleting commented code in __init__.py
AakashGfude Jan 25, 2022
10bbb79
Merge branch 'sphinx-theme-builder' of https://github.com/AakashGfude…
AakashGfude Jan 25, 2022
d7a1a67
adding comments on scss loaders in webpack
AakashGfude Jan 25, 2022
664a77e
translations readme update
AakashGfude Jan 25, 2022
2d6b8e2
adding comments on scss loader pipeline in webpack
AakashGfude Jan 25, 2022
48c43c1
corrections/additions to contributing.md
AakashGfude Jan 25, 2022
9f0a374
adding choldgraf's email address in pyproject.toml
AakashGfude Jan 25, 2022
9fc1186
Update src/sphinx_book_theme/assets/scripts/index.js
choldgraf Jan 25, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
updating git workflow
AakashGfude committed Jan 24, 2022
commit 91a82c13a1a396d139a728fd0003f02279bbe9e5
23 changes: 13 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -11,21 +11,21 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9
- uses: pre-commit/[email protected].0
- uses: pre-commit/[email protected].3

tests:
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9]
sphinx: [">=3,<4", ">=4,<5"]
include:
- os: windows-latest
python-version: 3.7
python-version: 3.9
sphinx: ">=3,<4"
- os: macos-latest
python-version: 3.9
@@ -38,14 +38,18 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: "pyproject.toml"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test]
python -m pip install -e .[test]

- name: Run pytest
run: >
pytest --durations=10 --cov=sphinx_book_theme --cov-report=xml --cov-report=term-missing

- name: Upload to Codecov
if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.7 && github.repository == 'executablebooks/sphinx-book-theme'
uses: codecov/codecov-action@v1
@@ -107,11 +111,10 @@ jobs:
with:
python-version: 3.7

- name: Install build dependecies
run: pip install wheel

- name: Build package
run: python setup.py sdist bdist_wheel
run: |
python -m pip install -U pip build
python -m build

- name: Publish
uses: pypa/[email protected]