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

Release v0.3.2 #63

Merged
merged 9 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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;
}
Loading