FreeTrainSimulator icon indicating copy to clipboard operation
FreeTrainSimulator copied to clipboard

Initiate Wiki to supplement documentation

Open perpetualKid opened this issue 3 years ago • 8 comments

perpetualKid avatar Mar 10 '21 13:03 perpetualKid

do you plan to get the manual onto the wiki? i see that the manual pages are all in the repo

HengYeDev avatar Apr 06 '21 13:04 HengYeDev

do you plan to get the manual onto the wiki? i see that the manual pages are all in the repo

I've been thinking about, but that would need some automated process both to import the docs first time, but also to keep in sync(one-way)/updated from upstream docs. At the moment this is not in scope from my end, but to use the wiki for any new documentation (in particular anything which differs from original OR).

As always though, contributions are welcome!

perpetualKid avatar Apr 06 '21 14:04 perpetualKid

I also think that the docs may be too big for github wiki, i've never seen a github wiki with as much content as the documentation of OR. maybe we could setup readthedocs (since the docs are already in restructured-text

HengYeDev avatar Apr 06 '21 15:04 HengYeDev

I've just spun up a preview instance in my fork. https://hengyedev-orts-mg-docspreview.readthedocs.io/en/stable/

HengYeDev avatar Apr 07 '21 13:04 HengYeDev

Whooops sorry wrong link https://hengyedev-orts-mg-docspreview.readthedocs.io/en/manual/

HengYeDev avatar Apr 07 '21 13:04 HengYeDev

cool. how does it work, can this be integrated in CI/CD pipeline?

btw, OR itself also uses readthedocs to publish docs https://open-rails.readthedocs.io/en/latest/

perpetualKid avatar Apr 07 '21 15:04 perpetualKid

it's already CI. i.e. when i push anything to the docs it recompiles and reuploads

HengYeDev avatar Apr 07 '21 15:04 HengYeDev

just been reading a bit more in the readthedocs documentation today. I think just using RTD for the main manual is the better approach, but using the wiki as additional layer. Time may tell what's more appropriate.

On the other hand, there may also be a clear split - User documentation and manual using RTD, and developer documentation in the wiki/discussions. I think the current manual/docs in the repo are mostly targetting end users, while there is barely anything for developers.

perpetualKid avatar Apr 08 '21 18:04 perpetualKid