mirror of
https://github.com/ae-utbm/sith.git
synced 2024-12-22 15:51:19 +00:00
documentation fix tests because of missing README.md
This commit is contained in:
parent
4428a2e89c
commit
8809753108
@ -377,12 +377,12 @@ Welcome to the wiki page!
|
||||
|
||||
""",
|
||||
).save()
|
||||
# Adding README
|
||||
# Adding README (discuss if really necessary)
|
||||
p = Page(name="README")
|
||||
p.save(force_lock=True)
|
||||
p.view_groups = [settings.SITH_GROUP_PUBLIC_ID]
|
||||
p.save(force_lock=True)
|
||||
with open(os.path.join(root_path) + "/README.md", "r") as rm:
|
||||
with open(os.path.join(root_path) + "/README.rst", "r") as rm:
|
||||
PageRev(page=p, title="README", author=skia, content=rm.read()).save()
|
||||
|
||||
# Subscription
|
||||
|
Loading…
Reference in New Issue
Block a user