forked from datajoint/datajoint-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request datajoint#1096 from kabilar/master
Migrate `docs.datajoint.org/python`
- Loading branch information
Showing
134 changed files
with
6,348 additions
and
1,803 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Manual docs release | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
publish-docs: | ||
runs-on: ubuntu-latest | ||
env: | ||
DOCKER_CLIENT_TIMEOUT: "120" | ||
COMPOSE_HTTP_TIMEOUT: "120" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Deploy docs | ||
run: | | ||
export MODE=BUILD | ||
export PACKAGE=datajoint | ||
export UPSTREAM_REPO=https://github.com/${GITHUB_REPOSITORY}.git | ||
export HOST_UID=$(id -u) | ||
docker compose -f docs/docker-compose.yaml up --exit-code-from docs --build | ||
git push origin gh-pages |
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 |
---|---|---|
|
@@ -8,3 +8,4 @@ mkdocs-gen-files | |
mkdocs-literate-nav | ||
mkdocs-exclude-search | ||
mkdocs-jupyter | ||
mkdocs-section-index |
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ services: | |
- ..:/main | ||
user: ${HOST_UID}:anaconda | ||
ports: | ||
- 8080:80 | ||
- 80:80 | ||
command: | ||
- sh | ||
- -c | ||
|
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Citation | ||
|
||
If your work uses the DataJoint API for Python, please cite the following manuscript and Research Resource Identifier (RRID): | ||
If your work uses the DataJoint for Python, please cite the following manuscript and Research Resource Identifier (RRID): | ||
|
||
- Yatsenko D, Reimer J, Ecker AS, Walker EY, Sinz F, Berens P, Hoenselaar A, Cotton RJ, Siapas AS, Tolias AS. DataJoint: managing big scientific data using MATLAB or Python. bioRxiv. 2015 Jan 1:031658. doi: https://doi.org/10.1101/031658 | ||
|
||
- DataJoint API for Python - [RRID:SCR_014543](https://scicrunch.org/resolver/SCR_014543) - Version `Enter version here` | ||
- DataJoint for Python - [RRID:SCR_014543](https://scicrunch.org/resolver/SCR_014543) - Version `Enter version here` |
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,46 @@ | ||
# Credentials | ||
|
||
Configure the connection through DataJoint's `config` object: | ||
|
||
```python | ||
> import datajoint as dj | ||
DataJoint 0.4.9 (February 1, 2017) | ||
No configuration found. Use `dj.config` to configure and save the configuration. | ||
``` | ||
|
||
You may now set the database credentials: | ||
|
||
```python | ||
dj.config['database.host'] = "alicelab.datajoint.io" | ||
dj.config['database.user'] = "alice" | ||
dj.config['database.password'] = "haha not my real password" | ||
``` | ||
|
||
Skip setting the password to make DataJoint prompt to enter the password every time. | ||
|
||
You may save the configuration in the local work directory with | ||
`dj.config.save_local()` or for all your projects in `dj.config.save_global()`. | ||
Configuration changes should be made through the `dj.config` interface; the config file | ||
should not be modified directly by the user. | ||
|
||
You may leave the user or the password as `None`, in which case you will be prompted to | ||
enter them manually for every session. | ||
Setting the password as an empty string allows access without a password. | ||
|
||
Note that the system environment variables `DJ_HOST`, `DJ_USER`, and `DJ_PASS` will | ||
overwrite the settings in the config file. | ||
You can use them to set the connection credentials instead of config files. | ||
|
||
To change the password, the `dj.set_password` function will walk you through the | ||
process: | ||
|
||
```python | ||
dj.set_password() | ||
``` | ||
|
||
After that, update the password in the configuration and save it as described above: | ||
|
||
```python | ||
dj.config['database.password'] = 'my#cool!new*psswrd' | ||
dj.config.save_local() # or dj.config.save_global() | ||
``` |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.