scientific-python / scientific-python-hugo-theme

Hugo theme based on the design for numpy.org
https://theme.scientific-python.org/
Other
19 stars 23 forks source link

Fix relative links in scipy.org #575

Closed jarrodmillman closed 7 months ago

jarrodmillman commented 7 months ago

In #573, we are getting the following checklink errors:

6:41:07 AM:   ✖ FAIL load public/install
6:41:07 AM:   | operator: load
6:41:07 AM:   | expected: 200 public/install
6:41:07 AM:   |   actual: ENOENT: no such file or directory, open "/opt/build/repo/doc/public/install"
6:41:07 AM:   |       at: public/scipy/index.html:67:18 <a href="/install" class="navbar-item">...</a>
6:41:07 AM:   ✖ FAIL load public/community
6:41:07 AM:   | operator: load
6:41:07 AM:   | expected: 200 public/community
6:41:07 AM:   |   actual: ENOENT: no such file or directory, open "/opt/build/repo/doc/public/community"
6:41:07 AM:   |       at: public/scipy/index.html:73:18 <a href="/community" class="navbar-item">...</a>
6:41:07 AM:   ✖ FAIL load public/contribute
6:41:07 AM:   | operator: load
6:41:07 AM:   | expected: 200 public/contribute
6:41:07 AM:   |   actual: ENOENT: no such file or directory, open "/opt/build/repo/doc/public/contribute"
6:41:07 AM:   |       at: public/scipy/index.html:79:18 <a href="/contribute" class="navbar-item">...</a>
6:41:07 AM:   ✖ FAIL load public/citing-scipy
6:41:07 AM:   | operator: load
6:41:07 AM:   | expected: 200 public/citing-scipy
6:41:07 AM:   |   actual: ENOENT: no such file or directory, open "/opt/build/repo/doc/public/citing-scipy"
6:41:07 AM:   |       at: public/scipy/index.html:252:20 <a href="/citing-scipy">...</a>
6:41:07 AM:   ✖ FAIL load public/faq
6:41:07 AM:   | operator: load
6:41:07 AM:   | expected: 200 public/faq
6:41:07 AM:   |   actual: ENOENT: no such file or directory, open "/opt/build/repo/doc/public/faq"
6:41:07 AM:   |       at: public/scipy/index.html:291:20 <a href="/faq">...</a>
6:41:07 AM:   ✖ FAIL load public/terms
6:41:07 AM:   | operator: load
6:41:07 AM:   | expected: 200 public/terms
6:41:07 AM:   |   actual: ENOENT: no such file or directory, open "/opt/build/repo/doc/public/terms"
6:41:07 AM:   |       at: public/scipy/index.html:301:20 <a href="/terms">...</a>
6:41:07 AM:   ✖ FAIL load public/privacy
6:41:07 AM:   | operator: load
6:41:07 AM:   | expected: 200 public/privacy
6:41:07 AM:   |   actual: ENOENT: no such file or directory, open "/opt/build/repo/doc/public/privacy"
6:41:07 AM:   |       at: public/scipy/index.html:306:20 <a href="/privacy">...</a>
6:41:07 AM:   ✖ FAIL load public/press-kit
6:41:07 AM:   | operator: load
6:41:07 AM:   | expected: 200 public/press-kit
6:41:07 AM:   |   actual: ENOENT: no such file or directory, open "/opt/build/repo/doc/public/press-kit"
6:41:07 AM:   |       at: public/scipy/index.html:311:20 <a href="/press-kit">...</a>

We need to update the links in the scipy.org repo. See this numpy.org PR where I fixed a similar issue on that site: https://github.com/numpy/numpy.org/pull/729

jarrodmillman commented 7 months ago

See #582.