Skip to content

Commit b66f976

Browse files
committed
initial commit
0 parents  commit b66f976

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1769
-0
lines changed

.bumpversion.cfg

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[bumpversion]
2+
current_version = 0.0.0
3+
commit = True
4+
tag = False
5+
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<build>\d+))?
6+
serialize =
7+
{major}.{minor}.{patch}.{release}{build}
8+
{major}.{minor}.{patch}
9+
10+
[bumpversion:part:release]
11+
optional_value = prod
12+
first_value = dev
13+
values =
14+
dev
15+
prod
16+
17+
[bumpversion:part:build]
18+
19+
[bumpversion:file:VERSION]
20+
21+
[bumpversion:file:./pyproject.toml]
22+
23+
[bumpversion:file:./src/overture_to_arcgis/__init__.py]
24+
25+
[bumpversion:file:./docsrc/mkdocs.yml]
26+
[bumpversion:file:./docsrc/mkdocs/index.md]

.github/workflows/make-mkdocs.yml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
name: Make docs using MkDocs
2+
3+
on:
4+
5+
# when any pushes are made to any branch with changes to the source, notebooks or docs directory
6+
push:
7+
branches:
8+
- main
9+
paths:
10+
- "src/**/*.py"
11+
# - "notebooks/**/*.ipynb"
12+
- "docsrc/**/*"
13+
- ".github/workflows/**/*"
14+
15+
# test workflow as well...
16+
workflow_dispatch:
17+
18+
# allow one concurrent deployment
19+
concurrency:
20+
group: pages
21+
cancel-in-progress: true
22+
23+
jobs:
24+
25+
build:
26+
27+
# run on linux since simplest environment and no operating system dependencies are required
28+
runs-on: ubuntu-latest
29+
30+
steps:
31+
32+
# get the repo contents
33+
- uses: actions/checkout@v4
34+
35+
# Install Python
36+
- name: Set up Python
37+
uses: actions/setup-python@v5
38+
with:
39+
python-version: "3.12"
40+
41+
# install python packages
42+
- name: Install Python Packages
43+
run: pip install -r docsrc/requirements.txt
44+
45+
# build docs
46+
- name: Build Documentation using MkDocs
47+
run: mkdocs build -f docsrc/mkdocs.yml
48+
49+
# ensure permissions correctly configured
50+
- name: Check Permissions
51+
run: |
52+
chmod -c -R +rX "docs/" | while read line; do
53+
echo "::warning title=Invalid file permissions automatically fixed::$line"
54+
done
55+
56+
# upload docs directory
57+
- uses: actions/upload-pages-artifact@v4
58+
with:
59+
# Upload contents of docs directory
60+
path: "docs"
61+
62+
deploy:
63+
64+
# wait for build before running
65+
needs: build
66+
67+
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
68+
permissions:
69+
pages: write # to deploy to Pages
70+
id-token: write # to verify the deployment originates from an appropriate source
71+
72+
# Deploy to the github-pages environment
73+
environment:
74+
name: github-pages
75+
url: ${{ steps.deployment.outputs.page_url }}
76+
77+
# Specify runner + deployment step
78+
runs-on: ubuntu-latest
79+
steps:
80+
- name: Deploy to GitHub Pages
81+
id: deployment
82+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
5+
# C extensions
6+
*.so
7+
8+
# Distribution / packaging
9+
.Python
10+
env/
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
**/*.egg-info/
23+
.installed.cfg
24+
**/*.egg
25+
26+
# PyInstaller
27+
# Usually these files are written by a python script from a template
28+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
29+
*.manifest
30+
*.spec
31+
32+
# Installer logs
33+
pip-log.txt
34+
pip-delete-this-directory.txt
35+
36+
# Unit test / coverage reports
37+
htmlcov/
38+
**/*.tox/
39+
**/*.coverage
40+
**/*.coverage.*
41+
**/*.cache
42+
**/*nosetests.xml
43+
**/*coverage.xml
44+
**/*.cover
45+
**/*.pytest_cache
46+
47+
# Translations
48+
**/*.mo
49+
**/*.pot
50+
51+
# Django stuff:
52+
**/*.log
53+
54+
# Sphinx documentation
55+
docsrc/_build/
56+
docsrc/build/
57+
58+
# PyBuilder
59+
target/
60+
61+
# configuration files
62+
**/secrets.ini
63+
.env
64+
65+
# Database
66+
**/*.db
67+
**/*.rdb
68+
69+
# Pycharm
70+
.idea
71+
72+
# VS Code
73+
.vscode/
74+
75+
# Spyder
76+
.spyproject/
77+
78+
# Jupyter NB Checkpoints
79+
.ipynb_checkpoints/
80+
81+
# exclude data from source control by default
82+
data/
83+
models/
84+
85+
# Mac OS-specific storage files
86+
**/*.DS_Store
87+
88+
# ignore the caches created for ArcMap
89+
arcgis/Index
90+
arcgis/ImportLog
91+
arcgis/.backups
92+
93+
# make sure the environment is not included
94+
env/
95+
96+
# exclude the docs build directory
97+
docs/

0 commit comments

Comments
 (0)