-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
98 changed files
with
776 additions
and
786 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#! /usr/bin/env python | ||
|
||
import shortuuid | ||
uuid = shortuuid.uuid() | ||
print (uuid) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import logging | ||
import mkdocs.plugins | ||
import os | ||
|
||
log = logging.getLogger('mkdocs') | ||
|
||
@mkdocs.plugins.event_priority(-50) | ||
|
||
|
||
def on_startup(command, dirty): | ||
|
||
|
||
template = """ | ||
--- | ||
title: Automatically Generated Python Documentation | ||
summary: DO NOT EDIT THIS FILE MANUALLY : It is created during the mkdocs build process | ||
date: 2023-08-03 | ||
--- | ||
# Python Reference Manual | ||
""" | ||
ignore_list = [ | ||
"__init__", | ||
"migrations", | ||
"tests"] | ||
|
||
for root, dirs, files in os.walk("../django_project"): | ||
for file in files: | ||
file = os.path.join(root, file) | ||
if file.endswith(".py"): | ||
ignored = False; | ||
for item in ignore_list: | ||
if item in file: | ||
ignored = True; | ||
#print (item, file, ignored) | ||
if not ignored: | ||
file = file.replace("../django_project/", "::: ") | ||
file = file.replace("/", ".") | ||
file = file.replace(".py", "") | ||
template = template + file + "\n" | ||
file = open("docs/src/developer/manual/index.md","wt") | ||
file.write(template) | ||
file.close() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
[//]: # "GeoSight is UNICEF's geospatial web-based business intelligence platform." | ||
[//]: # | ||
[//]: # "Contact : [email protected]" | ||
[//]: # | ||
[//]: # ".. note:: This program is free software; you can redistribute it and/or modify" | ||
[//]: # " it under the terms of the GNU Affero General Public License as published by" | ||
[//]: # " the Free Software Foundation; either version 3 of the License, or" | ||
[//]: # " (at your option) any later version." | ||
[//]: # | ||
[//]: # "__author__ = '[email protected]'" | ||
[//]: # "__date__ = '13/06/2023'" | ||
[//]: # "__copyright__ = ('Copyright 2023, Unicef')" | ||
[//]: # "__copyright__ = ('Copyright 2023, Unicef')" | ||
--- | ||
title: GeoSight-OS Documentation Home | ||
summary: GeoSight is UNICEF's geospatial web-based business intelligence platform. | ||
- Tim Sutton | ||
- Irwan Fathurrahman | ||
date: 2023-08-03 | ||
some_url: https://github.com/unicef-drp/GeoSight-OS | ||
copyright: Copyright 2023, Unicef | ||
contact: [email protected] | ||
license: This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. | ||
#context_id: 1234 | ||
--- | ||
|
||
# Contributing to GeoSight | ||
|
||
|
@@ -107,7 +106,7 @@ If you are adding new commands or features, they must include tests. | |
If you are changing functionality, update the tests if you need to. | ||
|
||
#### Commit | ||
Follow our [commit message conventions](./documentation/commit-message-convention.md). | ||
Follow our [commit message conventions](../developer/guide/templates/commit-message-convention.md). | ||
|
||
### Yes! Pull request | ||
|
||
|
@@ -126,7 +125,7 @@ Follow other PR title format on below. | |
#### Description | ||
|
||
If it has related issues, add links to the issues(like `#123`) in the description. | ||
Fill in the [Pull Request Template](./documentation/pull-request-template.md) by check your case. | ||
Fill in the [Pull Request Template](../developer/guide/templates/pull-request-template.md) by check your case. | ||
|
||
## Code of Conduct | ||
|
||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.