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

gitbook assets#1052

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
montanalow merged 2 commits intomasterfrommontana/gitbook
Oct 11, 2023
Merged

gitbook assets#1052

montanalow merged 2 commits intomasterfrommontana/gitbook
Oct 11, 2023

Conversation

montanalow
Copy link
Contributor

TODO

  • configuration to deploy docs

render(cluster, &path, guides, "Guides", &Path::new("docs")).await
use rocket::fs::NamedFile;

#[get("/docs/guides/.gitbook/assets/<path>", rank = 10)]
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Can't use the fileserver because we need the path to not be exact, but rather the relative gitbook path.

@@ -48,7 +48,7 @@
</li>

<li class="nav-item d-flex align-items-center">
<a class="nav-link p-lg-0" href="/docs/guides/setup/quick_start_with_docker">Docs</a>
<a class="nav-link p-lg-0" href="/docs/guides/README">Docs</a>
Copy link
Contributor

Choose a reason for hiding this comment

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

Not very SEO friendly imo

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Yeah, but we can't control this lever in gitbook... and then again... it is kinda devvy.

.header_counter
.fetch_add(1, std::sync::atomic::Ordering::SeqCst);
let id = format!("header-{}", id);
let id = meta.content.to_case(convert_case::Case::Kebab);
Copy link
Contributor

Choose a reason for hiding this comment

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

Not unique enough, we have duplicate headers in blogs and docs.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

We should dedup them. URLS are part of the UX, and we're also losing control of this to gitbook.

@montanalowmontanalow marked this pull request as ready for reviewOctober 5, 2023 15:59
@levkk
Copy link
Contributor

levkk commentedOct 5, 2023
edited
Loading

Do you think we should place these into/docs2 and hide them from Google until we finish our work on them? To me the current docs feel more usable than these ones.

We should at least go through these to validate that all the basics are there and we haven't removed important information.

@montanalowmontanalow merged commit2ef3ddc intomasterOct 11, 2023
@montanalowmontanalow deleted the montana/gitbook branchOctober 11, 2023 22:21
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
@montanalow@levkk

[8]ページ先頭

©2009-2025 Movatter.jp