Topic: Documentation rework
kaputtnik Topic Opener |
Posted at: 2018-05-17, 17:22
The current documentation is made with an old django-app called django-sphinx. This application isn't maintained anymore and makes it impossible to update Django itself in the future. To get rid of this application there is an attempt to build the documentation directly as html files and serve those. You can find a test setup at http://alpha.widelands.org/documentation/ Any remarks or suggestions? Fight simulator for Widelands: |
ypopezios |
Posted at: 2018-05-17, 17:33
Why not use the wiki instead? Top Quote |
kaputtnik Topic Opener |
Posted at: 2018-05-17, 19:20
Sidenote: If we talk about 'documentation', the currently documentation is mainly about LUA scripting. So it is useful for people who wants to create an own scenario.
Using the Wiki would cause additional work. The source code documentation is best done in the source code itself. So a new developer can read it directly when he wants to edit the code. If a developer should do the documentation in two places (source code and Wiki), it causes additional work wich is error-prone and time consuming. Fight simulator for Widelands: |
einstein13 |
Posted at: 2018-05-17, 20:03
Ohh... You mean documentation = part of our site that is generated out of Widelands code itself? I don't know almost anything about that, so I will not say anything against what you develop. You are my hero here! einstein13 |
GunChleoc |
Posted at: 2018-05-22, 07:25
Looking good Just 1 nit: I find the menu text hard to read in the left sidebar - use black text? Or the same style as on the top. There is one more reason not to use the wiki for this: When changing the code, a developer will see that there is some documentation that goes with it. If it's in the wiki, developers will forget to update the documentation when making changes, because it's out of sight. We would end up with horribly outdated documentation. Busy indexing nil values Top Quote |
kaputtnik Topic Opener |
Posted at: 2018-05-23, 07:42
I will give the text a real dark green then. If this isn't satisfying, we can change it also later. May i find time this evening to get the new documentation on the productive site. Fight simulator for Widelands: |
kaputtnik Topic Opener |
Posted at: 2018-05-27, 10:42
The new documenation is online now. It may take a short time to load the css the first time you call it. Hopefully you like it Fight simulator for Widelands: |
GunChleoc |
Posted at: 2018-05-30, 14:11
Thanks! Busy indexing nil values Top Quote |
Nordfriese |
Posted at: 2020-01-14, 16:36
Is the lua documentation still being updated? It´s getting fairly outdated, e.g. https://www.widelands.org/documentation/autogen_wl_map/#economy refers to no longer existing functions and misses some new functions Top Quote |
kaputtnik Topic Opener |
Posted at: 2020-01-14, 17:18
The line ate the bottom states: Last updated on Jan 14, 2020 The documentation is made of the master branch, as far i remember. The master branch should be updated regularly and if an update fails some admins should get an email. Didn't looked if the master branch is up to date on server though. When did the changes you mentioned got into master? Fight simulator for Widelands: |