-
Notifications
You must be signed in to change notification settings - Fork 46
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
[Discussion] Guides/Documentation Improvements #216
Comments
Possible documentation tools
|
that is ok to use docfx with github actions on Windows, for pull requests it could also act as an documentation verifier as well which could verify that the docs do not have common errors / issues. |
This is something that's sorely needed, and I really appreciate it! As for the tools of choice, I'm fine with whatever as long as it's open-source and cross-platform. No Windows-only stuff, please. |
I was a huge advocate for GitBook, but that did not support auto-generation of documention. However, I found this, which is very modern and looks promising! https://github.com/webmaster442/BookGen I'll play around with it a little and see how it works out. |
Scrap the above idea... That project looks promising but has a long way to go. |
@MazeXP @jax I think DocFX is the sensible choice here. Other options we've explored are either dead/deprecated (Sandcastle, Wyam) or too premature (Bookgen, Statiq). What do you think of DocFX? The honest truth is that its very mature and has appealing out-of-the-box themes. I particularly like material. |
Isn't DocFX based on .NETFX as well |
Though, that Discord theme is pretty appealing... |
It's apparantly cross-platform https://dotnet.github.io/docfx/ |
Heck. I'd love to write some articles then. |
That would be pretty great. You could really just start writing anywhere and we can import it later as DocFX uses markdown. |
Aye. I've written articles for D#+. |
Sweet. Let's just get @Nihlus final approval before jumping the gun. |
DocFX 2.0 runs on NetFX. |
I was looking at DocFx in the past and really wanted to use it, but the framework-only builds were a blocker. I was mainly waiting for the 3.0 release which would address this, but perhaps we can start using it anyway. There are released preview versions - worth checking out! |
Also, we should totally use the Discord theme. |
DocFX 3,0 does not have the API reference generation inbuilt. |
So assuming we use DocFx (which I really would like), the next step really needs to be a project plan - what goals do we have for the documentation, what do we want to document, in what format, etc etc - would you be willing to take the lead on that, @Hamsterland? |
For setting up DocFX in GitHub Actions it would be best to have it run on a windows machine. But as GitHub Actions does also provide Windows machines I do not see a problem about just As an alternative to GitHub Action it would also be possible to use AppVeyor for the docs generation. I did already some experiments with DocFX and Remora.Discord: |
I would prefer the use of a Linux machine; that way, it's more or less guaranteed to work on other OS's as well. |
Well, is it useful to be able to build docs locally? |
I think so; testing a failing action is way faster if you can do it locally, as is experimenting with new features. |
Would Mono be an option for you locally as DocFX 2 is written in NetFX? The only alternative would be Statiq.Docs when following issue gets fixed: statiqdev/Statiq.Framework#244 |
Yeah, I'm fine using Mono; that said, if DocFX 3 doesn't seem like an option in the future, perhaps we should look elsewhere. |
By new feature you mean a new article in the docs context, i guess? |
Either a new article or the use of a new or different feature in DocFX itself, such as different themes or page generations. |
Just came across https://docusaurus.io/. It looks good and easy to setup. |
I think I tried Docusaurus in the past with pretty good results. The lack of .NET API reference generation is a shame, though - we could, of course, always roll our own from the generated XML files and spit out a format Docusaurus recognizes. |
How do you think about a separate branch that is then added via |
Description
Why This is Needed
To make Remora.Discord more approachable to new users who don't neccessarily have the time to slowly learn how it works like most of us have.
Alternatives Considered
N/A
Additional Details
I'd more like to help by writing the guides themselves, I am not really opinionated on which host to use.
The text was updated successfully, but these errors were encountered: