I think the documentation needs to be redone.
Also, before I do too much on this, I want to know if the @go-gitea/maintainers and the @go-gitea/owners agree with what I am doing. Also, if anyone has any comments on this, I would like to hear.
A note related to the current documentation: My documentation will be static, it will not need hugo to generate it.
All the latest document is generated by Hugo. And this one ?
@lunny It's a static page which uses AJAX to load a JSON-based index and the page content. Have a look at the code on my server.
Since Gitea is a community product, we should use the almost popular technical so that many people could contribute for her.
@lunny sorry, but what do you mean by the almost popular technical?
If you mean technologies, I think my method is better than hugo, because hugo has it's limits. I am using popular libraries such as jquery and semantic ui though.
Have a look at my code. It's pretty easy to understand and it will end up as only about 200-400 lines.
@geek1011 How to translate to other languages?
Ajax to load the index? Pretty bad for search engine indexing...
And I don't share your opinion that your technology is better than Hugo. Hugo generates a really static website which can be indexed and search engine optimized.
@tboerger @mjwwit @lunny As for my viewer for the docs, it can be made static, but I would prefer Jekyll or a custom script, unless someone else does Hugo. It should be pretty easy to render the docs as completely static pages. Myiewer is not done yet though. Also, my layout makes it easy to switch: it's the pattern Category/Section/Page Title.md
. I will continue the docs, but someone else can put together a better site. I just hacked something together quickly to test my docs.
And for SEO, it is fine, once I put routing in.
Also, @tboerger I never said it was better than Hugo, I said I didn't like Hugo. This could probably be easily made into a static site with almost any generator.
@geek1011 Hugo is what most of the team knows. Also, Gitea being written in Go, we give preference for Go tools, and Jekyll uses Ruby. Hugo is also more used for new sites than Jekyll, today.
Improvements to documentation are very welcome! But let's keep our currently tooling that is more than fine. Current docs is at: https://github.com/go-gitea/docs
@andreynering ok, your first point is fine. About the existing docs, they need a restructure. IMO, there should be admin docs, user docs, and dev docs. Inside each category, there should be a section, which contains pages.
there should be admin docs, user docs, and dev docs. Inside each category, there should be a section, which contains pages.
That makes sense to me.
I will learn hugo today, and switch it over. 馃槂
And a relevant article I came across: https://thenextweb.com/dd/2017/06/02/free-software-is-suffering-because-coders-dont-know-how-to-write-documentation/
If anything I'd like to help write some documentation, but not really sure where to begin, is there some kind of list we could compile for documentation that needs to be written?
Most helpful comment
I will learn hugo today, and switch it over. 馃槂