Skip to content

Compares Sojourn-13's code with its Wiki documentation

License

Notifications You must be signed in to change notification settings

du-top/SojCompare

Repository files navigation

About

This project compares the source code of the Sojourn-13 project (https://github.com/sojourn-13/sojourn-station) with its Wiki (https://sojourn13.space/wiki/Main_Page) in certain topics, to make sure that the documentation there is up to date. This comparison consists of

  • Perks
  • Chemicals
  • Psionic Powers

After the comparison, it shows what items exist in code, but not in the wiki, and what items exist in the wiki, but aren't in the code (anymore?).

To achieve this, certain parts of the sojourn-13 source code are downloaded from github and parsed. Then certain wiki pages are downloaded and also parsed. The results are then examined and compared.

Requirements

Usage

Call CodeWikiComparison.py

Github token

To speed up the download from the source files from github, a Github token can be placed in a text file named "githubtoken" and placed in the directory next to the CodeWikiComparison.py file.

Limitations

The project is the first Python project by the author, expect it to be bad. Especially the parser of the code files is everything but universal. It worked for the certain set of files, but could trip over any (Dreammaker) language specific detail. It's bad. It works right now, but it's bad. Baaad.

Changes in the wiki articles could cause the project to seize functioning. This is especially the case when the articles are moved or renamed, but restructurings in them could be too much as well.

The project needs permission to create files and subdirectories in the directory in which it runs in.

Planned features

There were first steps to create wiki table entries for missing entities, but it's not included yet.

About

Compares Sojourn-13's code with its Wiki documentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages