JuliaApproximation / ApproxFun.jl

Julia package for function approximation
http://juliaapproximation.github.io/ApproxFun.jl/
Other
538 stars 71 forks source link

Docs not deployed since v0.11.4 #716

Closed briochemc closed 1 year ago

briochemc commented 4 years ago

Not sure what's wrong but the latest docs don't seem to be deployed for me. This or the ReadMe's URLs to the docs are broken.

dlfivefifty commented 4 years ago

I don't know what you mean: the links from the README work for me

briochemc commented 4 years ago

I mean if I click on the "stable" badge, I see this:

Screen Shot 2020-09-12 at 2 06 46 am

which is v0.11.4 and not the latest v0.12.2 so it missed a couple releases...

dlfivefifty commented 4 years ago

Hmm it's not finding BandedMatrices.jl

I tried adding a Project.toml but that didn't fix the issue....probably I should switch to a Github workflow but I couldn't find another project that did this so not sure

MikaelSlevinsky commented 4 years ago

I think it's because your travis.yml is calling your travis.sh which doesn't add BandedMatrices

briochemc commented 4 years ago

Maybe you can add something like

 jobs:
   include:
     - stage: Documentation
       julia: 1.5
       os: linux
       script:
         - julia --project=docs -e 'using Pkg; Pkg.instantiate()'
         - julia --project=docs --color=yes docs/make.jl
       after_success: skip

to your travis.yml file instead of using that travis.sh file.

If you are looking for a GitHub-action-deployed-docs package example, I have done that for AIBECS.jl, with that docs.yml file:

name: Documentation
on:
  push:
    branches:
      - 'master'
      - 'release-'
    tags: '*'
  pull_request:
jobs:
  docs:
    name: Documentation
    runs-on: macOS-latest
    steps:
      - uses: actions/checkout@v2
      - uses: julia-actions/setup-julia@v1
        with:
          version: "1"
      - run: julia --project=docs -e '
          using Pkg;
          Pkg.develop(PackageSpec(; path=pwd()));
          Pkg.instantiate();'
      - run: julia --project=docs/ --code-coverage=user docs/make.jl
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
      - uses: julia-actions/julia-uploadcodecov@latest
        env:
          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

and you'll have to set the secrets for this to work.

briochemc commented 4 years ago

Also just read in Slack that you'll probably need something like this to run Travis on the tags.

TyBalduf commented 3 years ago

This is still unresolved. It also appears there are some broken Latex equations in these most recent releases (you can see an unrendered equation in the text of briochemc's screenshot).

jishnub commented 2 years ago

Should be fixed now. Please reopen if there are fresh issues

jishnub commented 1 year ago

@dlfivefifty would you mind confirming if the DOCUMENTER_KEY variable has been added to this repo?

dlfivefifty commented 1 year ago

I've made you an admin, does that let you do this?

jishnub commented 1 year ago

Yes it does, thanks, I'll look into this