-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Add documentation from wiki.termux.com #3184
base: master
Are you sure you want to change the base?
Conversation
I did some weird magic using php and pandoc and converted most Wiki Pages to Markdown. It seems to work alright with termux.github.io. While some of the info is extremely outdated and some conversion errors may still remain, I think this is a good base to build upon for a new documentaton.
remove bs1770gain as it's no longer available
Thanks a lot for converting to markdown! This will be really helpful. However, entire wiki can't be merged in termux-app, every termux repo will have its own docs directory and termux.github.io will combine its own main docs and all the others like its currently doing for termux-app. Secondly, a flat directory structure is not going to be used. There should be multi level sub directories for each type of doc, which will also be reflected in url path. So will have to think on right directory hierarchy. So there is still lot of work to be done before wiki can be split and merged even if content itself is fixed. Wiki only contains few pages related to termux-app docs, which I have mostly replaced locally anyways. A lot belongs to termux-packages docs and the rest for main termux.github.io docs, like index and community pages, etc. Will respond about other stuff if any later. Thanks again! 🎉 |
@agnostic-apollo I see. Perhaps a rough outline should be created first in the individual repositories. Folder Structure and example pages mostly. Then we can start to sort in content from this PR into the specific repositories. A lot of content will obviously have to be discarded completely as it is outdated irrelevant or of poor quality. This would also somewhat outline, what we actually want to document, ie. complete documentation of all available packages or just Termux-Specific special stuff. |
Yeah, that would be great! But until the next release cycle happens, I can't pick any more work. We can do this afterwards, unless someone else wants to take initiative and write the packages docs, in which case I guess I will try taking time out to guide.
Yeah, agreed. Lot of stuff needs to be completely rewritten since current wiki doesn't meet the standards for how docs should be for many things. Moreover, that are also certain rules that must be followed while writing the docs related to markdown formatting, so that the docs work both on the site and as well as in-app markdown viewer I was writing a while back. They both use different libraries and they both have differences from markdown shown on github, so there are compatibility issues that must be taken care of. I fixed some of them related to headings for the site locally and have decided on some rules for other stuff, will document them later. Moreover, the docs must not contain any hardcoded The directory hierarchy will also require using relative paths when linking pages. Asset files would also have to be in sub directories themselves. Basically, lot of things needs to be worked on and will take time. |
@agnostic-apollo |
We were granting access to specific people who were requesting it but it was pulled for every non-termux dev a few days ago. You can submit a modified wiki page in a termux-api repo issue and the termux devs can add it themselves in the wiki. That should work for now. |
I did some weird magic using php and pandoc and converted most Wiki pages to Markdown. It seems to work alright with termux.github.io. While some of the info is extremely outdated and some conversion errors may still remain, I think this is a good base to build upon for a new documentaton.