-
Notifications
You must be signed in to change notification settings - Fork 124
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
Consider re-organizing the current default template #2214
Comments
IMO users who are looking looking for a component showcase can be directed to the DG's "Using components" or "Syntax cheatsheet" pages, so it may not be necessary to add a tutorial or explain how the components can be used templates. Doing so might also incur more future maintenance cost (i.e., we'll need to look out for changes in our DG and the templates whenever a component is updated). Maybe including a prominent link to the above-mentioned DG sections might be useful instead? My view of the templates is:
|
The main purpose of the template, seems to me, is for starting a new project. See here.
Very valid point. I think we should only keep the core set of templates, in the main repo, and explore ways to include templates in a separate repository, to avoid coupling. The downside of creating a separate repository for templates is the maintenance cost, so that's probably something good to consider, but not urgent and low priority. My suggestion would be:
|
Thanks @jovyntls and @tlylt for the discussion!
My initial thought was to have a
Sorry, I don't think I managed to fully explain the discrepancy that I found 😅 The discrepancy is from this description, from the above link: "Default template if (I couldn't find any specific issue / PR with discussions on why these were in the
Thanks again for the suggestions! I think this is the best way forward - we will keep the current set of templates, but for the If anyone has suggestions / alternatives (e.g. if you think there is merit to leaving the content there), then we can discuss that further 👍 In the meantime, I think that in place of the content in
Definitely something to consider! We can add a set of pages to the user guide (perhaps something similar in structure to our Onboarding Bootcamp in our developer guide)? For some context (just to be clearer), there is a difference between a quick start, a feature overview, and a tutorial, even though they may seem to have overlaps at times for static site generators. To illustrate with examples, Gatsby has separate pages / sets of pages for their quick start, which shows the installation process; their feature overview, which is a simple list of features available; and their tutorial, which is a lot more detailed and step-by-step as compared to their quick start. Hugo includes the quick start as part of their "tutorial" pages. Jekyll also separates quick start and tutorial. So there is definitely precendent for separating these sections explicitly. In comparison, for MarkBind, we have the quick start and the feature overview, but not a tutorial. The suggestion here is that we build a similar kind of tutorial for MarkBind! Of course, it is more of a nice-to-have and not urgent, but nonetheless, I think it should be highly useful for new users if written well.
I think this is an excellent idea! Agreed that this is definitely low priority and not urgent, though. Perhaps we can see if this becomes worth considering in the future? |
TL;DR Potential TODOs
I get what you mean now. I would think the sentence "Filled with MarkBind features to guide you to author better content" is just a generic sounding statement. If you feel that it over promises, we can make a PR to update it to something like "Fill with essential MarkBind features such as ... "
I like this suggestion, feels like a good introduction page.
Related to recipes in #835 |
Thanks @tlylt for the concise summary! I have started a PR (#2225) to address the first two points of the TODOs above. Once this PR has been addressed (closed or merged), we can consider opening a new issue for creating a new set of tutorials - I feel like it deserves its own discussion separate from this issue. |
#2225 has been merged, and the remaining task is to create a set of tutorials for MarkBind. I will |
Please confirm that you have searched existing issues in the repo
Yes, I have searched the existing issues
Any related issues?
No response
What is the area that this feature belongs to?
Author Usability, Documentation
Is your feature request related to a problem? Please describe.
Currently, we have two templates available for the user to choose from:
default
andminimal
. Theminimal
template is undoubtedly important, as it allows users to quickly create an almost-empty site that they can modify to suit their needs. Both thedefault
and theminimal
templates are useful for different situations when used in conjunction withmarkbind init --convert --template [TEMPLATE]
as well. (i.e. I am not debating either template's situational utility)An issue I want to discuss is that the default template currently contains a lot of filler content, such as:
Describe the solution you'd like
I believe that currently, the
default
template is trying to do two things: (1) Serve as a more detailed template as compared tominimal
(e.g. a built-in siteNav), and (2) showcase some of the components that can be used in MarkBind. However, from what I can see, these two goals are targeted towards different kinds of users. (1) would be targeting more of users who are using the--convert
feature to convert a pre-existing document into MarkBind (which is likely the majority of our users), and (2) would be for users who are new to MarkBind.If the current
default
template wants to achieve (2), I believe that we need to be more informative with the components that are being showcased (e.g. PR #2165 shows one case of how the components in thedefault
template are being showcased in a confusing manner). On the other hand, an argument can be made that this is not necessary, since most users will be using--convert
anyway, in which case we should re-consider having these component showcases in thedefault
template in the first place if they are not serving much purpose.I can see four approaches:
default
template, but add in better explanations for the features being showcased.default
template, and create a new (third) template calledtutorial
that can showcase basic MarkBind-specific features with summarized explanations.default
template, with no other changes.I can see arguments for all of the approaches, so I'm curious to know what others think!
(Personally I am leaning towards 3 or 4)
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: