Repository navigation
Fix reference page 404 issue - #249
Conversation
Signed-off-by: Mercurio <[email protected]>
|
@SignorMercurio how can I verify this change locally? |
|
@tisonkun Simply go to |
|
@SignorMercurio this command verifies only the docsify site itself. How can I ensure that it's properly integrated with the Pulsar site? Said you state that 404 issues are resolved, it's actually about the integration instead of docsify standalone. Even if without this patch, |
|
@tisonkun I haven't figured out an elegant way to do this, but you may try starting a local HTTP server like this:
$ mkdir /tmp/website
$ cd site2/website-next
$ cp -r docsify /tmp/website/reference
$ cd /tmp/website
$ python3 -m http.server
|
|
@SignorMercurio This still tests only the docsify site instead of the integration with Pulsar website - you don't start a local server serving the doc site. And what is to be tested is jumping from the doc site to the reference pages correctly. Oh. I get your point. Let me test it. |
This comment was marked as outdated.
This comment was marked as outdated.
|
Verified locally. Although not a fully integration, we can give it a try. |
|
There're other 404 pages, please check whether they're generated on the fly? |
|
Found: # Generate document for command line tools.
"$TOOLS_DIR"/pulsar-admin-doc-gen.sh "$WEBSITE_DIR" "$VERSION"
"$TOOLS_DIR"/pulsar-client-doc-gen.sh "$WEBSITE_DIR" "$VERSION"
"$TOOLS_DIR"/pulsar-perf-doc-gen.sh "$WEBSITE_DIR" "$VERSION"
"$TOOLS_DIR"/pulsar-doc-gen.sh "$WEBSITE_DIR" "$VERSION"
"$TOOLS_DIR"/pulsar-config-doc-gen.sh "$WEBSITE_DIR" "$VERSION"
cd "$WEBSITE_DIR" |
Yes, they are. |

Fix apache/pulsar#17996.
Also change versions like
2.6.0to2.6.x, etc. (See #214)