diff --git a/.github/workflows/distribute.yml b/.github/workflows/distribute.yml index d576793..8a7ae02 100644 --- a/.github/workflows/distribute.yml +++ b/.github/workflows/distribute.yml @@ -33,22 +33,3 @@ jobs: with: user: __token__ password: ${{ secrets.TOOLS_PYPI_PAK }} - - verify-distribution: - runs-on: ubuntu-latest - needs: - - call-version-info-workflow - - distribute - defaults: - run: - shell: bash -l {0} - steps: - - uses: actions/checkout@v4 - - - uses: mamba-org/setup-micromamba@v1 - with: - environment-file: environment.yml - - - name: Ensure mkdocs-asf-theme v${{ needs.call-version-info-workflow.outputs.version }}} is pip installable - run: | - python -m pip install mkdocs-asf-theme==${{ needs.call-version-info-workflow.outputs.version_tag }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb5f4a0..1c3a7f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,9 +9,6 @@ jobs: call-release-workflow: uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@v0.11.0 with: - release_prefix: HyP3-CI - release_branch: main # Optional; default shown - develop_branch: develop # Optional; default shown - sync_pr_label: tools-bot # Optional; default shown + release_prefix: ASF MkDocs Theme secrets: USER_TOKEN: ${{ secrets.TOOLS_BOT_PAK }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 4737779..6f86447 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [PEP 440](https://www.python.org/dev/peps/pep-0440/) and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.3.2] + +### Changed +* Tables are now displayed at maximum width. +* Announcement banner style has been improved. + ## [0.3.1] ### Changed diff --git a/src/asf_theme/assets/stylesheets/asf.css b/src/asf_theme/assets/stylesheets/asf.css index f9b0ed8..a6da8d9 100644 --- a/src/asf_theme/assets/stylesheets/asf.css +++ b/src/asf_theme/assets/stylesheets/asf.css @@ -6,6 +6,17 @@ a { color: #236192; } +/* +Set tables to max width: +https://github.com/squidfunk/mkdocs-material/issues/175#issuecomment-616694465 +*/ +.md-typeset__table { + min-width: 100%; +} +.md-typeset table:not([class]) { + display: table; +} + .md-header a, .md-footer a { color: rgba(248, 248, 248, 100); } @@ -116,3 +127,22 @@ a { .expert-rec-search { margin-top: 10px; } + +#announcement-content { + font-weight: bold; + text-align: center; +} + +a.announcement-link { + color: #33adff; + text-decoration: underline; +} + +/* +Without this block, there is a non-clickable, apparently useless X icon displayed +on the right-hand side of the announcement bar, near the real X button. +This block hides that element. +*/ +i.fa.fa-times::before { + display: none; +}