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

[Poc] feat(hook): new hook updateNav for update navbar content#1229

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

Draft
anikethsaha wants to merge1 commit intodevelop
base:develop
Choose a base branch
Loading
fromnew-hook-updateNav

Conversation

@anikethsaha
Copy link
Member

This is a working Proof of concept for the new hookupdateNav

How to use it.

function(hook,vm){hook.updateNav(function(navContent){return`${navContent}\n- new link\n- new link 2`});}

@vercel
Copy link

vercelbot commentedJun 18, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect:https://vercel.com/docsify-core/docsify-preview/9h85au3g2
✅ Preview:https://docsify-preview-git-new-hook-updatenav.docsify-core.vercel.app

@stale
Copy link

stalebot commentedAug 17, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stalestalebot added the wontfix labelAug 17, 2020
@hamishwillee
Copy link

hamishwillee commentedFeb 26, 2022
edited
Loading

Is there any intent to get this in?

The problem I have is that I do not want to include the translation path in my sources. If I do that, then my translators have to do make-work of manually updating the path in each URL. So what I want to do is read the current page path, get the translation string "e.g. /en", and insert is as a prefix in each of the links.

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@anikethsaha@hamishwillee@sy-records

[8]ページ先頭

©2009-2025 Movatter.jp