41 Standard Feature Documentation #2298
Replies: 5 comments 11 replies
-
This might be slightly tangential since the dicussion is mainly about organization, but I would like to also kick off some ideas on setting standards for the actual content we write. Since everyone who works on a feature also works on the documentation, and everyone's writing style is different, I think it's important to have tools / guidelines that will let you check if the tone and vocabulary we use is consistent. Some formatting / linting of markdown would also benefit us when maintaining a readable document. (vscode extension pack for suggesting formatting tools for doc writing? I can imagine this would be great for onboarding people to our team + the community workspace) I can recall that @ScriptAutomate has been using a tool to spellcheck stuff in These could be the first guardrail for us, then we could have some general writing guides about how we want our documents to be written similar to how we have development best practices in |
Beta Was this translation helpful? Give feedback.
-
I like the idea of having the source of truth exist within the feature documentation itself, and then for reference documentation to be large lists of note refs pulled from designated sections of the feature documentation (like ### [[Rename Note|dendron://dendron.dendron-site/dendron.topic.refactoring#rename-note]]
<!--
This is a wiki link that shows the content of the section
-->
![[dendron://dendron.dendron-site/dendron.topic.refactoring#rename-note,1:#*]] I like this format as it means that the Headers also won't go out of date after any refactoring occurs. Once things like I think this is a great way of showing off Dendron for docs as it shows a good standard approach to remixing content, DRY, etc. while being able to create TL;DR types of docs out of existing docs. |
Beta Was this translation helpful? Give feedback.
-
Something I'm wondering about - is there a reason Topics is "Topics" and not just "Features"? Are there items under "Topics" that are not features? It might make the documentation more legible to rename it, since "Topics" is perhaps a little difficult to disambiguate from other general categories like "Concepts". |
Beta Was this translation helpful? Give feedback.
-
I'll be working on mapping out the implementation, and what |
Beta Was this translation helpful? Give feedback.
-
I like this structure. I think that in general, a specific API tends to be part of a large activity group, as well as a part of certain workflows. Here, the wider/flatter tree is the activity groups (Topics) while the workflows (CLI, Configuration,...) tend to be deeper trees. Having them accessible in separate locations according to either a) activity or b) workflow seems to solve for the main modes of documentation lookup: a) I'm trying to do something specific, or b) I'm figuring out a larger process. Having a structure that allows the building of workflows as the product of a set of One tangential amendment I would make would be to stylize the commands, such that they contrast against the other content. I'm not sure this problem extends beyond me, but as I look at the documentation, it's hard to parse what is a section heading, and what is a command. Perhaps this could involve making the commands quoted, colored green, or emphasized in other ways; or adding separators between commands. |
Beta Was this translation helpful? Give feedback.
-
Goals
This is a proposal to introduce a standard way to document features in Dendron while minimizing duplicate content
Context
The past discussion about the dendron site is documented in [[Dendron Site Reorganization|dendron://dendron.community/discussion.2021.dendron-site-reorg]]
This proposal talks specifically about [[Feature Anatomy|dendron://dendron.community/discussion.2021.dendron-site-reorg#feature-anatomy]]
If you look at the sections of a feature, many of the sections (eg. [[CLI|dendron://dendron.dendron-site/templates.topic#cli]], [[Commands|dendron://dendron.dendron-site/templates.topic#commands]], etc) overlap with children of [[Reference|dendron://dendron.community/discussion.2021.dendron-site-reorg#reference]]
Proposal
When adding details to reference documentation under
CLI
,Configuration
, the main text should come fromdendron.topic.{feature}
. The corresponding entries should be added as a note ref to their respective reference section. The way the reference documentation can be layed out as followsEssentially, this is proposing that
dendron.topic.{feature}
is the main source of truth for a feature andreference.*
documentation is generated as note references from topic notes.This will help keep our docs DRY (don't repeat yourself) and make sure content is up to date.
Future Work
Currently, the process of generating references is quite manual. There are a few future features that should make this easier:
Beta Was this translation helpful? Give feedback.
All reactions