-
Notifications
You must be signed in to change notification settings - Fork 3
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
Integrate documentation into frontend #22
Comments
RequirementsIn general, there are at least two different problems
Ideally, I imagine that those those two things can be combined (ie via an extension), but if that's not possible, only the
Research tasks
|
During today's standup we've though if maybe docus can fulfil some of the outlined requirements? |
WIP post 1
2i would prefer to use tsdoc over jsdoc since there's a rule of jsdoc that would become overly irritating - having to specify the types of variables and returns twice (jsdoc one being not needed since it's already covered by ts itself). The link about ts supporting js doc in this post refers to typing the js files and not documenting the ts code itself. |
Ok, so let's drop Requirement
Please note:
|
with the proposed approach we can stick to the same doc structure or make the generated documentation into a single md file via https://www.npmjs.com/package/concat-md tool (script that gets the files in |
Great, but:
As discussed in the daily
|
this is not clear. please rephrase.
so in #42 there's the draft that approximates how this would look like if the docs are provided in the following manner:
|
I think you already provided a link to the docs, that by changing the link under
|
as in (3): single markdown file that has been generated via concat md. in e.g.
the current process immitates the file being provided and moved to the
For now as i see nothing except for a single md file generated by the concatination is needed in this provided folder.
|
Summary of how the documentation has to look like.
Suggested adjustments to the current way of sharing this (in https://github.com/acaldas/document-model-libs/tree/docs)
So the generation process looks approximately like $ typedoc src/index.doc.ts --plugin typedoc-plugin-markdown --hideInPageTOC --out markdown |
Tsdoc/jsdoc usually takes existing markdown files that are already in your codebase into the docs folder, so you can write introduction/general instructions to some subfolders/modules. It also supports full markdown syntax in the comments including images, I believe
I wouldn't agree with that. We should aim to have a nice mobile menu for that case (but not necessarily in the same PR as the current one)
Would rephrase my question: why do you suggest for them to use our script instead of us? It adds communication overhead and also complicates the process if we need to edit/improve/fix that script. I don't see a benefit of asking them to run it instead of us. But I see the benefit of them adding
Is it something that we can't support in principle or just a current limitation? |
👍🏻
fine for me.
Ok, if we ask to
for the format like in github Images are not formatted or centered. Technically speaking we could display them, but this is kind of unpredictable (but won't grow bigger than the html/vue container ofc) If the example is actually fine, then i will edit the #22 (comment) Since images are essentially attached files: same goes for them. As long as the link to the file download is funcitonal, it's fine. But there's obviously no guarantee that this is the case on our side since we don't store the files ourselves / validate their presence. |
To make |
adjusted #22 (comment) |
To summarise, How we integrated the documentation
Integration requirements
|
Hey, |
Goal
Research and decide on best doc standardisation library
Context
Initial requirement:
Tasks
The text was updated successfully, but these errors were encountered: