Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

should be ok not 400#1251

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
chillenberger merged 1 commit intomasterfromdan-update-docs-1
Dec 20, 2023
Merged

should be ok not 400#1251

chillenberger merged 1 commit intomasterfromdan-update-docs-1
Dec 20, 2023

Conversation

chillenberger
Copy link
Contributor

  • Change test after changing behavior of docs bad path.

@chillenbergerchillenberger merged commit48f5b46 intomasterDec 20, 2023
@chillenbergerchillenberger deleted the dan-update-docs-1 branchDecember 20, 2023 22:26
@@ -550,7 +550,7 @@ This is the end of the markdown
let rsp = req.dispatch().await;

assert!(
rsp.status() == Status::NotFound,
rsp.status() == Status::Ok,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Should be 404 when doc not found. If we return ok, google will index the not found page and real and pollute the search index.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Ok, I can switch it back. We will have to wait on keeping the lefthand nav on bad path then.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I don't understand what the connection between this and the leftnav is with the current context.

Copy link
ContributorAuthor

@chillenbergerchillenbergerDec 20, 2023
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

After a bad path Montana would like the other docs there on the left so the user can easy navigate away from the 404 response.

Screenshot 2023-12-20 at 4 00 03 PM

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Ah I see, you'll just need a custom 404 page for the docs instead of using the default one. You can set that up with a 404 catcher in rocket.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@levkklevkklevkk left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@chillenberger@levkk

[8]ページ先頭

©2009-2025 Movatter.jp