Skip to content

Commit a5187f5

Browse files
committed
2 parents 5012eed + 2a14b10 commit a5187f5

File tree

115 files changed

+4720
-237
lines changed

Some content is hidden

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

115 files changed

+4720
-237
lines changed

.cspell.json

Lines changed: 306 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,306 @@
1+
// cSpell Settings
2+
//https://github.com/streetsidesoftware/vscode-spell-checker
3+
{
4+
"version": "0.2", // Version of the setting file. Always 0.2
5+
"language": "en", // language - current active spelling language
6+
"enabledLanguageIds": [
7+
"markdown"
8+
],
9+
// flagWords - list of words to be always considered incorrect
10+
// This is useful for offensive words and common spelling errors.
11+
// For example "hte" should be "the"
12+
"flagWords": [],
13+
"allowCompoundWords": true,
14+
"ignorePaths": [
15+
"src/archive"
16+
],
17+
"words": [
18+
"Aarse",
19+
"Abrego",
20+
"Adib",
21+
"aggr",
22+
"Aggr",
23+
"Aguillon",
24+
"Aleksandr",
25+
"Alyx",
26+
"Andreas",
27+
"Angelaki",
28+
"Arlt",
29+
"Arseny",
30+
"Asprodini",
31+
"Athanassios",
32+
"Atika",
33+
"Aviv",
34+
"Baji",
35+
"Bakshi",
36+
"Barroso",
37+
"Bashiri",
38+
"Behnia",
39+
"Behr",
40+
"Behrens",
41+
"Benda",
42+
"Berens",
43+
"Bethge",
44+
"Bodor",
45+
"Bonacchi",
46+
"Branco",
47+
"Brittain",
48+
"Brody",
49+
"Buchanan",
50+
"Bumbarger",
51+
"Busse",
52+
"Cadena",
53+
"Cadwell",
54+
"Campagner",
55+
"Carandini",
56+
"Cazettes",
57+
"Celii",
58+
"Chagas",
59+
"Chapuis",
60+
"Chelur",
61+
"Cheng",
62+
"Chettih",
63+
"Chiola",
64+
"Choi",
65+
"cholinergic",
66+
"Christenson",
67+
"Churchland",
68+
"Cimorelli",
69+
"cingulate",
70+
"Claudi",
71+
"Cobos",
72+
"Cohrs",
73+
"Collman",
74+
"cond",
75+
"conda",
76+
"Connectomics",
77+
"convolutional",
78+
"cortico",
79+
"Corticothalamic",
80+
"Crombie",
81+
"Dalkara",
82+
"dandi",
83+
"DANDI",
84+
"Dani",
85+
"DARPA",
86+
"DeAngelis",
87+
"decimalnf",
88+
"Deisseroth",
89+
"Denfield",
90+
"Dichter",
91+
"Dickman",
92+
"Ding",
93+
"djbase",
94+
"djhub",
95+
"djlab",
96+
"djlabhub",
97+
"djtest",
98+
"Donato",
99+
"Drewe",
100+
"Druckmann",
101+
"Drugowitsch",
102+
"Ecker",
103+
"Economo",
104+
"Einevoll",
105+
"elif",
106+
"Elife",
107+
"Emmanouil",
108+
"Eneuro",
109+
"Engel",
110+
"entorhinal",
111+
"EPFL",
112+
"Ephys",
113+
"equivariant",
114+
"Erisken",
115+
"Fahey",
116+
"Finkelstein",
117+
"Fiorini",
118+
"Fontolan",
119+
"Franke",
120+
"Franzen",
121+
"Froudarakis",
122+
"Galdamez",
123+
"Gatys",
124+
"Geetika",
125+
"Georgieva",
126+
"Gerkin",
127+
"Geue",
128+
"Ghosh",
129+
"Goetz",
130+
"Göttingen",
131+
"Greenberg",
132+
"Grewe",
133+
"Hackathon",
134+
"Haefner",
135+
"Halchenko",
136+
"Harbororatory",
137+
"Harmin",
138+
"Hendrik",
139+
"Henninger",
140+
"HHMI",
141+
"Hillman",
142+
"Hoenselaar",
143+
"Hulyalkar",
144+
"Ilana",
145+
"INCF",
146+
"Jaerong",
147+
"Jaffe",
148+
"Jaramillo",
149+
"Jeroen",
150+
"Jessen",
151+
"Jiang",
152+
"Josić",
153+
"jupytext",
154+
"Jurjut",
155+
"Jytext",
156+
"Kabilar",
157+
"Kahles",
158+
"Karakostas",
159+
"Karel",
160+
"Katzner",
161+
"Kavli",
162+
"Khastkhodaei",
163+
"Kleinfeld",
164+
"Klindt",
165+
"Kobak",
166+
"Kochukov",
167+
"Kohn",
168+
"Korympidou",
169+
"Kotkat",
170+
"Kushal",
171+
"Laranjeira",
172+
"Laturnus",
173+
"Laurens",
174+
"Lichtman",
175+
"Lubenov",
176+
"Luque",
177+
"Macke",
178+
"Macrina",
179+
"Maho",
180+
"Mainen",
181+
"Manivannan",
182+
"materialx",
183+
"Maximilians",
184+
"McClerklin",
185+
"McGinley",
186+
"Mesoscale",
187+
"Mindscope",
188+
"miniconda",
189+
"Mizell",
190+
"mkdocs",
191+
"Mobarhan",
192+
"Moser",
193+
"München",
194+
"Neuro",
195+
"neuroanatomical",
196+
"Neurodata",
197+
"Neuroinformatics",
198+
"Neuromatch",
199+
"neurophotonics",
200+
"Neurophotonics",
201+
"Neuropixels",
202+
"Neurosci",
203+
"neuroscientists",
204+
"Obenhaus",
205+
"Obermüller",
206+
"objs",
207+
"openephysgui",
208+
"Optica",
209+
"organoids",
210+
"Oriol",
211+
"Osmonauts",
212+
"öttingen",
213+
"Pachitariu",
214+
"Palasantza",
215+
"Papadopoulou",
216+
"Pede",
217+
"Pekarek",
218+
"Pfaffinger",
219+
"Pharus",
220+
"Philipp",
221+
"Pierzchlewicz",
222+
"Pitani",
223+
"Pitkow",
224+
"PLOS",
225+
"Popeney",
226+
"Protti",
227+
"pymdownx",
228+
"Pytests",
229+
"Ralf",
230+
"Reimer",
231+
"Restivo",
232+
"Roboto",
233+
"Rodenkirch",
234+
"Roncal",
235+
"Rosón",
236+
"Rotem",
237+
"Roukes",
238+
"RRID",
239+
"RRIDs",
240+
"Rxiv",
241+
"Saavedra",
242+
"Sabatini",
243+
"Sachgau",
244+
"Saggau",
245+
"Sasaki",
246+
"Satrajit",
247+
"Schickard",
248+
"SDLC",
249+
"Seung",
250+
"Shaul",
251+
"Shcheglovitov",
252+
"Shen",
253+
"Shinn",
254+
"Siapas",
255+
"silico",
256+
"Sinz",
257+
"Sitonic",
258+
"Slettmoen",
259+
"Smirnakis",
260+
"Soupiadis",
261+
"Spacek",
262+
"Spampanato",
263+
"ßner",
264+
"SSRN",
265+
"Steffen",
266+
"Stelios",
267+
"Storer",
268+
"striatal",
269+
"struct",
270+
"Subramaniyan",
271+
"Svoboda",
272+
"Syeda",
273+
"Szatko",
274+
"Tarboton",
275+
"Tiago",
276+
"Tolga",
277+
"Tolias",
278+
"transcriptomic",
279+
"Tseng",
280+
"Tsetsenis",
281+
"Tübingen",
282+
"Tuthill",
283+
"twemoji",
284+
"UCSF",
285+
"üller",
286+
"Universität",
287+
"Urai",
288+
"Ustyuzhaninov",
289+
"Vaiceliunaite",
290+
"Verswijver",
291+
"Vlasits",
292+
"Wehr",
293+
"Weisenhaus",
294+
"Wellcome",
295+
"Wießner",
296+
"Wilhelm",
297+
"Witten",
298+
"Yaroslav",
299+
"Yatsenko",
300+
"Yilmaz",
301+
"Zhao",
302+
"Zhou",
303+
"Zong",
304+
"Zuckerman"
305+
]
306+
}

.docker/Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM datajoint/miniconda3:4.10.3-py3.9-alpine
2+
ARG GITHUB_TOKEN
3+
WORKDIR /main
4+
COPY --chown=anaconda:anaconda ./.docker/pip_requirements.txt ${PIP_REQUIREMENTS}
5+
COPY --chown=anaconda:anaconda ./.docker/apk_requirements.txt ${APK_REQUIREMENTS}
6+
RUN \
7+
/entrypoint.sh echo "Dependencies installed" && \
8+
rm ${PIP_REQUIREMENTS} && \
9+
rm ${APK_REQUIREMENTS}
10+
RUN \
11+
pip install --no-cache git+https://${GITHUB_TOKEN}@github.com/guzman-raphael/mkdocs-material-insiders.git@master || \
12+
echo "using public mkdocs-material..."
13+
COPY --chown=anaconda:anaconda ./mkdocs.yaml /main/mkdocs.yaml
14+
COPY --chown=anaconda:anaconda ./src /main/src

.docker/apk_requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
git

.docker/pip_requirements.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
mkdocs-material
2+
mkdocs-redirects
3+
mkdocs-exclude
4+
mdx_truly_sane_lists
5+
mkdocs-pymdownx-material-extras
6+
pymdown-extensions
7+
mkdocs-section-index

.github/workflows/development.yml

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,33 @@ on:
44
branches:
55
- main
66
jobs:
7-
deploy:
7+
deploy-docs:
88
runs-on: ubuntu-latest
9+
env:
10+
DOCKER_CLIENT_TIMEOUT: "120"
11+
COMPOSE_HTTP_TIMEOUT: "120"
12+
DJBOT_GH_TOKEN: ${{secrets.djbot_gh_token}}
913
steps:
1014
- uses: actions/checkout@v2
11-
- uses: actions/setup-python@v2
15+
- name: Compile docs static artifacts
16+
run: |
17+
GITHUB_TOKEN=$DJBOT_GH_TOKEN MODE=BUILD HOST_UID=$(id -u) docker-compose up --exit-code-from docs --build
18+
- name: Commit documentation changes
19+
run: |
20+
git clone https://github.com/${GITHUB_REPOSITORY}.git \
21+
--branch gh-pages --single-branch gh-pages
22+
rm -R gh-pages/*
23+
cp -r site/* gh-pages/
24+
cd gh-pages
25+
git config --local user.email "[email protected]"
26+
git config --local user.name "GitHub Action"
27+
git add . --all
28+
git commit -m "Update documentation" -a || true
29+
# The above command will fail if no changes were present, so we ignore
30+
# the return code.
31+
- name: Push changes
32+
uses: ad-m/github-push-action@master
1233
with:
13-
python-version: 3.x
14-
- run: pip install mkdocs-material
15-
- run: mkdocs gh-deploy --force
34+
branch: gh-pages
35+
directory: gh-pages
36+
github_token: ${{secrets.GITHUB_TOKEN}}

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
site
2+
.env
3+
.DS_Store
4+
temp*

.gitmodules

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)