Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I came across this really excellent CYOA style document on Git. Unfortunately, it seems outdated. The information was accurate but the format was difficult to navigate. The reason is that it used a linear display format for non-linear content. Using anchor tags allowed a user to jump from on section to another which allowed the non-linear navigation but it introduced two problems:
The medium of the content (mainly un-styled HTML) is lacking in some respects to a non-linear document. And as such needed several technological workarounds:
I would like to propose a different approach to non-linear documentation. To do so I made some requirements on the project to pick the right tool for the job:
With these I found the TiddlyWiki project perfectly suited. In fact the Choose-Your-Own-Adventure building tool Twine uses TiddlyWiki (an old version of it) under the hood.
This pull request was a conversion from plain HTML to TiddlyWiki. You can see it in action via http://sukima.github.io/GitFixUm/ (my fork of the
gh-pages
branch). It addresses the above like so:I hope this is found useful. I found the non-linear method of documentation quite enjoyable.
P.S. One of the sections had a disclaimer regarding the need to replace the keyword
$master
with the branch name the user was interested in. I felt this was harder to read so I had a text box there and told the user to enter the branch they were interested in and the page auto updated. The same trick could be used in other places to make the documentation more interactive.