Skip to content

Commit

Permalink
Merge pull request #63 from ASFHyP3/develop
Browse files Browse the repository at this point in the history
Release v0.3.2
  • Loading branch information
jhkennedy authored Feb 23, 2024
2 parents fdf55d6 + 1cb9a4b commit 6a0b5a3
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 23 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/distribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ jobs:
call-release-workflow:
uses: ASFHyP3/actions/.github/workflows/[email protected]
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 }}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
30 changes: 30 additions & 0 deletions src/asf_theme/assets/stylesheets/asf.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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;
}

0 comments on commit 6a0b5a3

Please sign in to comment.