Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starter packs (CLI) #1169

Closed
trusktr opened this issue May 10, 2020 · 8 comments
Closed

Starter packs (CLI) #1169

trusktr opened this issue May 10, 2020 · 8 comments
Labels
needs discussion pinned This is to pinned the PR/Issue in order to keep it open PoC welcome
Milestone

Comments

@trusktr
Copy link
Member

trusktr commented May 10, 2020

Status PoC

  • This will be implemented from docsify-cli.
  • Benifits: This will increase the scope of docsify from a docs generator to static site generator.
  • No changes are required in the core
  • Users can create their own starter-pack on top of the current one in order to fit other uses cases like creating blogging site, portfolios etc.
  • docsify-cli will ship with a new flag (maybe named as --starter) and it will do further operation related to that
@anikethsaha
Copy link
Member

@trusktr I think we should try the esm think we were talking about first. Cause with that, this feature will be very easy to implement.

@trusktr
Copy link
Member Author

trusktr commented May 11, 2020

👍

What exactly is the concept of a starter pack?

@anikethsaha
Copy link
Member

its like

with command like this

docsify init blog-starter

or

docsify init api-starter

with this, it will clone the template from github.

Actually I am kind of scattering away from this feature as I think the Github's template feature might do the work better.

@trusktr
Copy link
Member Author

trusktr commented May 14, 2020

Interesting. Does GitHub's template feature include template variables that can be interpolated into the code?

@anikethsaha
Copy link
Member

anikethsaha commented May 14, 2020

template variables ?

Do you mean secrets from GitHub environment?

@kosperera
Copy link

We use GitHub Template repos internally and privately for many work. Here's one of them; https://alertbox.github.io/gh-quickstart/#/
For obvious reasons I had to make it a trimmed-down version, but the process more or less the same.
I haven't got a chance to dig deeper into GitHub Developer APIs and Events to figure out a way to change the template repo content when creating a copy using the Use This Template option. It would be awesome if there is a way to do so without having to run any tools and scripts locally, isn't it.

@stale
Copy link

stale bot commented Aug 10, 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.

@stale stale bot added the wontfix label Aug 10, 2020
@anikethsaha anikethsaha added pinned This is to pinned the PR/Issue in order to keep it open and removed wontfix labels Aug 10, 2020
@jhildenbiddle
Copy link
Member

Close due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs discussion pinned This is to pinned the PR/Issue in order to keep it open PoC welcome
Projects
None yet
Development

No branches or pull requests

4 participants