Skip to content

Commit

Permalink
Merge branch 'conda-only' into trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed May 18, 2024
2 parents c43a05e + 5888c5e commit f63ea41
Show file tree
Hide file tree
Showing 92 changed files with 945 additions and 4,267 deletions.
2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,4 @@ assignees: ''

## Configuration

<!-- Which container image are you using? -->

<!-- What system are you using it on? -->
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/other_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ assignees: ''
## Additional context

<!-- What additional information is helpful to understand this request? -->

10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/software_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,6 @@ assignees: ''

<!-- What new package would you like in glotzerlab-software? -->

## Ubuntu package

<!-- What is the name of the ubuntu package? -->
<!-- Search the `bionic` distribution https://packages.ubuntu.com/ -->

## Additional context

<!-- What additional information is helpful to understand this request? -->

## Developer

<!-- Who should add the software to the build scripts? -->
<!-- Suggestion: You can contribute the changes as a PR: see `README.md` -->
27 changes: 0 additions & 27 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,3 @@ updates:
applies-to: security-updates
patterns:
- '*'
- package-ecosystem: "pip"
directory: "/doc"
target-branch: trunk
schedule:
interval: "monthly"
time: "07:00"
timezone: "EST5EDT"
pull-request-branch-name:
separator: "-"
open-pull-requests-limit: 2
reviewers:
- joaander
groups:
pip-version:
applies-to: version-updates
patterns:
- '*'
update-types:
- minor
- patch
pip-security:
applies-to: security-updates
patterns:
- '*'
update-types:
- minor
- patch
64 changes: 0 additions & 64 deletions .github/workflows/build.yml

This file was deleted.

47 changes: 47 additions & 0 deletions .github/workflows/doc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: doc

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
push:
branches:
- "trunk"

workflow_dispatch:

defaults:
run:
shell: bash

env:
CARGO_TERM_COLOR: always
CLICOLOR: 1
MDBOOK_VERSION: 0.4.37
LINKCHECK_VERSION: 0.7.7

jobs:
build_documentation:
name: Build documentation
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4.1.3
- name: Install mdbook
run: |
mkdir -p "$HOME/.cargo/bin"
curl -sSL "https://github.com/rust-lang/mdBook/releases/download/v$MDBOOK_VERSION/mdbook-v$MDBOOK_VERSION-x86_64-unknown-linux-gnu.tar.gz" | tar -xvz --directory "$HOME/.cargo/bin"
- name: Install mdbook-linkcheck
run: |
curl -sSL "https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases/download/v$LINKCHECK_VERSION/mdbook-linkcheck.x86_64-unknown-linux-gnu.zip" -o mdbook-linkcheck.zip
unzip mdbook-linkcheck.zip -d "$HOME/.cargo/bin"
chmod a+x "$HOME/.cargo/bin/mdbook-linkcheck"
- name: Add linkcheck configuration
run: |
echo -e "[output.linkcheck]\nfollow-web-links=true" >> doc/book.toml
cat doc/book.toml
- name: Build documentation
run: mdbook build doc
env:
RUST_LOG: "mdbook=info,linkcheck=warn,reqwest=debug"
1 change: 0 additions & 1 deletion .github/workflows/requirements.txt

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/update-packages.py

This file was deleted.

61 changes: 0 additions & 61 deletions .github/workflows/update-packages.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
ci:
autoupdate_schedule: quarterly
autoupdate_branch: 'trunk'
autofix_prs: false

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 'v4.5.0'
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-json
- id: check-toml
- id: check-case-conflict
- id: mixed-line-ending
- repo: https://github.com/crate-ci/typos
rev: v1.21.0
hooks:
- id: typos
exclude_types: [css]
19 changes: 7 additions & 12 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.12"

sphinx:
configuration: doc/conf.py
fail_on_warning: true

python:
install:
- requirements: doc/requirements.txt
os: "ubuntu-22.04"
commands:
- mkdir -p bin
- curl -sSL "https://github.com/rust-lang/mdBook/releases/download/v0.4.37/mdbook-v0.4.37-x86_64-unknown-linux-gnu.tar.gz" | tar -xvz --directory "bin"
- mkdir -p $READTHEDOCS_OUTPUT/html
- echo "site-url = \"/$READTHEDOCS_LANGUAGE/$READTHEDOCS_VERSION/\"" >> doc/book.toml
- bin/mdbook build doc --dest-dir=$READTHEDOCS_OUTPUT/html
Loading

0 comments on commit f63ea41

Please sign in to comment.