Skip to content

Commit

Permalink
Drop docs preview (#33)
Browse files Browse the repository at this point in the history
The preview is mostly confusing, so let's only use
<https://docs.rs/rmathlib>.
  • Loading branch information
rikhuijzer authored Apr 23, 2024
1 parent 6e5eb4e commit 7186fdc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
cd test/
cargo fmt --all --check
docs:
test-docs:
runs-on: ubuntu-latest
permissions:
contents: write
Expand All @@ -102,13 +102,3 @@ jobs:
run: |
cargo doc --all --no-deps
echo '<meta http-equiv="refresh" content="0; url=rmathlib">' > target/doc/index.html
# Not using actions/deploy-pages because it crashes for some reason.
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
cname: 'rmathlib.poweranalyses.org'
force_orphan: true
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: './target/doc'
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@

A Rust port of [R's C Library of Special Functions](https://cran.r-project.org/doc/manuals/r-release/R-admin.html#The-standalone-Rmath-library).

[![][docs-latest-img]][docs-latest-url]

[docs-latest-img]: https://img.shields.io/badge/docs-preview-blue.svg
[docs-latest-url]: https://rmathlib.poweranalyses.org

## Benefits

Some benefits of this port over the native C code are:
Expand Down

0 comments on commit 7186fdc

Please sign in to comment.