mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +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()
|
).save()
|
||||||
# Adding README
|
# Adding README (discuss if really necessary)
|
||||||
p = Page(name="README")
|
p = Page(name="README")
|
||||||
p.save(force_lock=True)
|
p.save(force_lock=True)
|
||||||
p.view_groups = [settings.SITH_GROUP_PUBLIC_ID]
|
p.view_groups = [settings.SITH_GROUP_PUBLIC_ID]
|
||||||
p.save(force_lock=True)
|
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()
|
PageRev(page=p, title="README", author=skia, content=rm.read()).save()
|
||||||
|
|
||||||
# Subscription
|
# Subscription
|
||||||
|
Loading…
Reference in New Issue
Block a user