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
Improving Developer Documentation #3339
base: tiddlywiki-com
Are you sure you want to change the base?
Conversation
|
Hi @ldorigo thanks for picking this up, improvements here are sorely needed and will be much appreciated. I'll review the changes you've proposed and leave any relevant comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ldorigo I've briefly reviewed the changes and very much like the direction you're taking of pruning and rearranging what we've got before adding to it.
One thing I'd like to see is to document the documentation style guide, just as we do for the main wiki under "Documentation Style Guide". A big part of what you're doing will end up being to evolve the rules and standards for how to make the docs, and making that explicit makes it easier for other people to join in.
| @@ -5,6 +5,8 @@ sub.num: 2 | |||
| tags: doc | |||
| title: Extending the Store | |||
|
|
|||
| TODO: delete | |||
|
|
|||
| <$list filter="[!has[draft.of]has[chapter.of]chapter.of[Extending the Store]tag[doc]sort[sub.num]]"> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like maybe this is part of a scheme for dynamically generating sequences of documentation. If it's not used then I agree it can go.
| @@ -3,6 +3,9 @@ modified: 20140101174811711 | |||
| title: package.json for NW.js | |||
| type: text/plain | |||
|
|
|||
|
|
|||
| TODO: What is this for and what's it doing here? | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This tiddler is transcluded by the tiddler TiddlyWiki on NW.js
|
Good idea with the documentation guidelines. I'll write a draft as soon as I have a basic structure for the already present files. |
|
Hey there, just a quick message to let you know that I'm on vacation for the next two weeks, so I won't be committing anything for that time. I have all intentions of finishing it once I am back! Btw: Git is showing a huge amount of changes, so it may be hard to review everything - but I usually mark with TODO the parts I'm uncertain about. The rest is mainly reorganizing, fixing typos, correcting the English a bit (you can almost hear the German accent in Heigele/Jurke's documentation :-) ) and deleting duplicate information, so there's not too much risk of doing things wrong. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's awesome to see tw5 getting better documentation - thank you!
|
Hi @ldorigo how are you getting on with this? Is there a build that people can look at? |
|
Hi @Jermolene and anyone else following, apologies for a long time without news. Life caught up and I had to spend most of august away from a computer! I'm now back to university and planning to wrap up the "high level" part of the documentation - 98% is done, I just want to finish proofreading what I have before officially asking for reviews :-) You can already give it a look, just
|
|
Hi @ldorigo apologies for the slow response on my part. Would you be able to resolve the merge conflicts and post a build somewhere? More people would be able to look at it and help if it were available on TiddlySpot or a GitHub Pages account. Many thanks! |
|
Hi Jeremy, no worries, it's really my fault for letting this hang so long. I solved the merge conflicts (the remaining one can be safely ignored). |
|
It seems that making a github page is much faster, so here goes: I was wondering, is it necessary to have both the application and the normal/developer documentation in a single repository? (I am sure I read something about you wanting to keep it all together somewhere, but don't remember where/when). It seems like it would be much easier to manage if they were into separate repos. I know you are planning to migrate to an organization repository, maybe it's something to do when you do the switch? |
|
Hi @ldorigo
I do think that TiddlyWiki5 is much easier for users to work with if the main repo is self contained, and so I am not in favour of splitting out translations or documentation into a separate repo. There's nothing to stop people working on a separate fork, though.
I've learned the hard way that everything requires at least the level of review that I would give it myself. Even trivial seeming documentation updates can break established documentation conventions. |
|
Of course I wasn't suggesting that the documentation PR's shouldn't be reviewed - it was more about not having to do all the reviews yourself (as it takes time from developing/reviewing code). But of course I understand that you would rather keep it centralized and under control as it is easier for you to manage. Regarding the developer documentation, could you let me know if there are particular points that need to be reworked before merging ? Of course there is still much work to be done, but what there is now can be a good starting point for further improvements. I deleted most duplicate information and adopted a more coherent style overall. |
4e1f524
to
688c624
Compare
|
I now actually fixed the merge conflicts (my git-fu was a bit dormant), and included the changes you made regarding continuous integration. |
2db9183
to
98d3a8c
Compare
|
I tried to change the PR's base to the right branch (for the new CI) but messed up, working on it now. |
…al structure. Marked content for deletion
…g lots of git-changes)
…l TW documentation
…for Developers' tiddler into it.
…mation and organizing it
…will need further reworking
…ework when I understand it better.
98d3a8c
to
4616368
Compare
|
Ok, the git part should be fine now. Let me know how to proceed from here :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall I do like the reading experience and the new toc-like structure.
Some of your tiddlers have 2020 dates. ;)
| tags: howto | ||
| title: Developing plugins using Node.js and GitHub | ||
| tags: [[Contributing to the TiddlyWiki Plugin Library]] | ||
| toc-order: 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this field for? ... Tags have a list field, that can be used to sort the TOC if needed.
editions/dev/tiddlers/ldorigo/Contributing/TiddlyWiki5 Development Environment.tid
Outdated
Show resolved
Hide resolved
| title: TiddlyWiki5 Development Environment | ||
|
|
||
|
|
||
| TODO: This should be greatly expanded, including information and suggestions on how to initially set up the development environment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did create a video playlist: see: https://www.youtube.com/watch?v=3h1nemtQLRI&list=PLuiC_HFhI4OxtThoQf92ws875R9zgNGSd
It may be linked somewhere?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, great. I need to watch that. I'll add the link, too.
| title: Hook: th-saving-tiddler | ||
| toc-order: 11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To me it looks like this field will create a lot of maintenance (pain) in the future. It should be removed. We need to use the built in mechanism!
|
|
||
| Return value: | ||
|
|
||
| * (none) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: It would be nice, if the hooks could link to "real world" examples, if we can find some ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, very much so. I only aggregated/cleaned existing documentation so far, there is still a huge amount of work to be done to actually make it complete.
|
We should set: http://ldorigo.github.io/#%24%3A%2Fconfig%2FNavigation%2FopenLinkFromInsideRiver to The default setting create a "reverted" river, which imo isn't the best reading experience. |
|
Uhm, yeah. That's what I get for putting in timestamps by hand. I'll look at a way to unify the dates.
What do you mean exactly? How can we accomplish what I am doing with the |
…ment Environment.tid Updated example as per @pmario's suggestion
|
TW uses a The end-users should have "default" TOCs. |
|
Oh, ok. So I've basically been using toc-order as my own |
|
No, apparently I misunderstood how it works: I thought each "child" tiddler should have a I'm modifying it now. |
|
The |
Ah, nice, sounds like the easiest way. Before I can do that though, could you maybe help me fixing a problem with the developer documentation edition in the sources: it seems like there is no saver configured (so at the moment it's not possible to work on the documentation wiki and save it). So far I have been making all the changes in a text editor. I don't know enough to make it work in a sensible way, maybe you could give a look at it? Then we can use the |
Hey there!
As I mentioned in the chat and probably somewhere else on GitHub, I am planning to dedicate some time this summer to get a good understanding of TW's code, and improve existing documentation along the way.
I'm thinking to keep pushing files to this pull request, so that experienced developers can give their opinions, answer eventual questions and review my changes.
I would encourage anyone familiar enough with the codebase to follow this pull request and comment along the way.
Let's build a better documentation for TiddlyWiki 👍
Here is a proposal for a hierarchical structure for the documentation: