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

Does docsify support specifying a tag or branch to use for generating the website? #1999

Unanswered
olalonde asked this question in Q&A
Discussion options

It wasn't clear from the docs whether that was supported. It would be useful for projects that use master branch as the development branch but want to offer documentation for the last release instead (e.g. using git tag latest).

You must be logged in to vote

Replies: 2 comments 1 reply

Comment options

Hi @olalonde , If you use the Github Pages or other services, I think it should be the deploy approach of the deploy kit since it only depends on which version docsify docs you wanna use to setup the site. Maybe you could found the trick on github pages or other services related docs.

You must be logged in to vote
0 replies
Comment options

How would I do that here? Doesn't docsifyjs/docsify always refer to the main branch?

 window.$docsify = {
 repo: 'docsifyjs/docsify',
 maxLevel: 3,
 coverpage: true,
 };
You must be logged in to vote
1 reply
Comment options

the config of repo just determines where to go for the github corner icon of docsify. it does not decide the deploy branch/version. if you deploy your site by github pages. you should check the config of your github pages and config it deploy from a branch or other versions via github action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /