Modernized INAV Documentation #10906
Replies: 10 comments 49 replies
-
|
Thanks for that! It looks really nice. The documentation is important and it could sure use some attention. A challenge is that documentation gets updated pretty often. For example, I know that I and @CREASE-gum-EAR have both updated different parts of it today. I don't know who else may have updated some of it today. I see Docusaurus makes a static site. We need something that allows different people to easily make updates. I'm thinking maybe a hybrid approach, combining what you've done with the convenience of a wiki might work well. This is just an initial thought to move the conversation forward, but I'm thinking maybe use the awesome organization and menu that @robotgoat has made, with the actual content of each page being the wiki. So the navigation links load the wiki pages, which can be edited just as easily as they are now: That way someone could click to quickly edit the Blackbox page to add some information, or correct something, just as they do now. Note that's just one idea off the top of my head on how to combine the benefits of both. I'm sure others will have more thoughts. |
Beta Was this translation helpful? Give feedback.
-
|
I love INAV. About a year ago I wanted to help with documentation as I write reports for work that have to be read by normal people but also need to be technical. My first step was to catalog all the wiki pages and the master/docs pages that are floating around. I then created the wiki menu and I listed all the pages I found and grouped them by topic. Then I started consolidating material with a single link in the menu for each topic. For the advanced topics, I moved the links to the bottom of each topic page and explained them. I didn't delete anything, just some rewording. Its now been 9 months since I made an edit but that facebook post kicked me in the but to get going again and I just did the Mixer Tab and the Outputs Tab pages. I don't have any preference on what would be better as far as approach, but my goal was to finish the consolidating effort. Then go through it all top to bottom and modernize the information, fill gaps, and preserve old info with collapsible sections for old INAV versions for those who need it. As for editing preferences, I do enjoy how easy it is to edit the github wiki and would like to retain that ability. I am happy to just do content updates and you all can do the pretty stuff. |
Beta Was this translation helpful? Give feedback.
-
|
Just an FYI on this topic - The original idea was that the docs/ folder is basically for developers / contributors and the wiki is for users. That's not written in stone though. Things can change. |
Beta Was this translation helpful? Give feedback.
-
|
I can see what @MrD-RC is saying - the version control is more visible for the docs/ folder, because we almost always use pull requests for that. It might be worth noting the wiki is also a Git repo, version controlled with commits etc. You can clone it like any repo: I have a local clone on my laptop. Each page has a history button at the top where you can see what changes were made, just like any other file in a repo. There are some differences - you can commit changes to the wiki without the pull request being approved by a maintainer. That makes it more convenient to make small changes. That means that most of the time, the history is in the commits - often there is not a pull request. The wiki is feels more dynamic, more conducive to change, because it doesn't require a PR. There may be some benefit to the separation based on that. |
Beta Was this translation helpful? Give feedback.
-
|
If it helps to know when organizing. @robotgoat @CREASE-gum-EAR. From the Wiki. Everything in the Edit: This one in the Tuning is old. Its an example of what to do with it. @MrD-RC @sensei-hacker |
Beta Was this translation helpful? Give feedback.
-
|
Hi dev team, just wanted to bump this discussion again as it hasn't seen much activity or response from my PR. I've noticed that the fast growing and actively developed Rotorflight flight controller software has a clean website made using Docusaurus that really makes getting to know the project from an outside perspective real easy compared to the layers of INAV markdown files, many outdated, buried in the repo's docs folder and wiki section. I'd like know if the greater dev team is actually interested in revitalizing the documentation structure into the Docusaurus website? I really think it would make the project look better and be taken more seriously by third party board manufacturers. All the major FOSS FPV projects have a website eg Betaflight, EdgeTX, Rotorflight, Ardupilot, PX4. INAV is the only lagging behind in this important aspect. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
It's been discussed lately that Google doesn't show results from the wiki and rarely from docs/. So the official INAV stuff is mostly invisible in search. For most searches related to INAV, Google mostly just returns articles by Oscar Liang. Or worse, random Reddit posts. A Docusaurus site might fix that. |
Beta Was this translation helpful? Give feedback.
-
|
Sounds like we have general agreement. For now, we would leave things in docs/ and our new GitHub pages repo (github.io repo) would "replace" the wiki. After we've had time to use it and get used to it, maybe some things like VTOL.md should also be moved into the documentation repo. But we'll try it with the wiki contents first. Am I missing anything? Thanks again for your hard work! |
Beta Was this translation helpful? Give feedback.
-
|
Robotgoat I did a PR against your sample repo, from which your PR to the INAV repo comes.
It will be in our existing repo that hadn't been updated for the last eight years, at https://github.com/iNavFlight/iNavFlight.github.io You will have the same control and editing ability that you have for any of our other repos, such as: https://github.com/iNavFlight/inav |
Beta Was this translation helpful? Give feedback.
-
|
I merged the PR on https://github.com/iNavFlight/iNavFlight.github.io What else needs to be done to make it look like the draft here?: |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hello all, I've noticed that as the INAV project has grown and become more complicated, especially since VTOLs are now supported, the documentation is too spread out, clunky, and not very user friendly. To address this, I made a documentation website similar to that of Betaflight's.
The site is made using Docusaurus 3.8 as of now and only has the bare minimum. I took some creative liberty in reorganizing key features of INAV into a "modules" section. There's also a quickstart section that is a WIP since I don't have the ability to build and fly any of my aircraft. There are still a few sections and modules I have to complete, but the gist of the documentation is there.
If the community deems this kind of documentation format for INAV to be worthy, I'd then like to know if it can be used to replace the wiki and docs markdown files, and have the website merged into the offical INAV github pages. Currently, inavflight.github.io takes you to the wiki, which is very clunky and out of date in some areas.
The current working documentation is can be found here: https://www.spiffygoose.com/inavdocs/
Beta Was this translation helpful? Give feedback.
All reactions