Comments (3)
Interesting. That link is generated by Docusaurus based on the configuration here: https://github.com/pactflow/docs.pactflow.io/blob/master/website/sidebars.json#L23 I wonder if we've configured it incorrectly, or if there's a bug. I'll have a look into it - thank you for raising it.
from docs.pactflow.io.
Ok, I've identified the problem. We've got "clean path" turned on, which allows /foo.html
to be accessed via /foo
by copying /foo.html
to /foo/index.html
when the site is generated. For some reason, it has an explicit check not to do this if the file is called index.html
The "next" link that is generated at the bottom of the page does not know about this rule though, so it's generating the the url /index
which doesn't match index.html
, so it's considering it a 404, and returning the site index page.
A quick hack would be to copy index.html
to index/index.html
when we build the site. The more correct fix would be to correct the link, however, they're currently working on docusaurus v2, so they may not be doing bug fixes for v1.
from docs.pactflow.io.
Got a hack/fix. Interestingly, this problem doesn't appear when running the app in local dev mode, which is why we've never picked it up before.
from docs.pactflow.io.
Related Issues (20)
- Clarity on provider publishing workflow for BDC HOT 1
- Katacoda shutdown HOT 4
- Cypress - which plugin to use? HOT 2
- CVE-2021-23436 (High) detected in immer-8.0.4.tgz - autoclosed HOT 1
- CVE-2022-25858 (High) detected in terser-5.11.0.tgz - autoclosed HOT 1
- CVE-2021-3757 (High) detected in immer-8.0.4.tgz - autoclosed HOT 1
- CVE-2020-7753 (High) detected in trim-0.0.1.tgz - autoclosed HOT 1
- CVE-2020-7760 (High) detected in codemirror-5.27.4.js
- CVE-2021-3803 (High) detected in nth-check-1.0.2.tgz, nth-check-2.0.0.tgz - autoclosed HOT 1
- CVE-2022-37599 (High) detected in loader-utils-2.0.0.tgz - autoclosed HOT 1
- CVE-2022-37603 (High) detected in loader-utils-2.0.0.tgz - autoclosed HOT 1
- CVE-2022-3517 (High) detected in minimatch-3.0.4.tgz
- make test_webhook command in ci/cd workshop doesn't exist in the MakeFile HOT 5
- .NET API Provider tested with Pact Verifier demo link is broken HOT 2
- pull in example-consumer-python-sns example to docs site HOT 2
- docker pactfoundation/pact-cli is not compatible with arm64 HOT 2
- test
- snag: doc sync failing since org setup with sso HOT 3
- update pactflow getting started for consumers
- Update BDC Workshop to be Get started with a demo in 10 easy steps HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.pactflow.io.