Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor tweaks and additions to the docs #114

Merged
merged 27 commits into from
Jul 16, 2020
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
03e0650
DOC: Fix extension name and copyright
adswa Jul 15, 2020
3cf7f9a
DOC: add project logo
adswa Jul 15, 2020
6ea615e
DOC: restructure demonstrations to be a tutorial part
adswa Jul 15, 2020
3e165f8
DOC: seperate toctrees and files for Python API and CMD, mimicking or…
adswa Jul 15, 2020
cf83782
DOC: More elaborate introduction
adswa Jul 15, 2020
787812a
DOC: Tweak the index page
adswa Jul 15, 2020
d1b520a
DOC: add acknowledgements (taken + modified from datalad)
adswa Jul 15, 2020
8d4a7da
DOC: add contributing section
adswa Jul 15, 2020
2d084f0
DOC: start the tutorial with authentication
adswa Jul 15, 2020
c5307a6
DOC: general section on osf-sibling command
adswa Jul 15, 2020
87698a6
DOC: minor typo in docstring
adswa Jul 15, 2020
71aab5b
DOC: more common links
adswa Jul 15, 2020
c674917
DOC: overhaul getting started section
adswa Jul 15, 2020
08bc3e2
DOC: adjust walk-throughs
adswa Jul 15, 2020
d5b9f83
DOC: Create a common tutorial dataset for everyone to recreate and us…
adswa Jul 15, 2020
e53abbe
DOC: minor improvements to the authentication section
adswa Jul 15, 2020
485ddb3
DOC: gentle tweaks and improvements
adswa Jul 16, 2020
a87c57e
DOC: use current grant numbers in acknowledgements
adswa Jul 16, 2020
365b666
DOC: warn windows users and strip development installation
adswa Jul 16, 2020
932221f
DOC: minor fixes from mih's comments
adswa Jul 16, 2020
83888d3
trigger build again
adswa Jul 16, 2020
a1db290
DOC: typo sweep with aspell
adswa Jul 16, 2020
d3b5784
Typo
adswa Jul 16, 2020
f8b1bbd
Update docs/source/tutorial/exportdatacode.rst
adswa Jul 16, 2020
3459aca
Update docs/source/tutorial/exporthumandata.rst
adswa Jul 16, 2020
4e9f948
DOC: final fixes
adswa Jul 16, 2020
8419777
Merge branch 'doc-overhaul' of github.com:datalad/datalad-osf into do…
adswa Jul 16, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion datalad_osf/create_sibling_osf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class CreateSiblingOSF(Interface):
node will - in opposition to the 'annex' - be
human-readable.

For authentification with OSF, you can define environment variables: Either
For authentication with OSF, you can define environment variables: Either
'OSF_TOKEN', or both 'OSF_USERNAME' and 'OSF_PASSWORD'. If neither of these
is defined, the tool will fall back to the datalad credential manager and
inquire for credentials interactively.
Expand Down
Binary file added docs/source/_static/clueless.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/datastore_sibling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/git-annex-osf-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/public_annex_sibling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions docs/source/acknowledgements.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Acknowledgments
===============

DataLad development is being performed as part of a US-German collaboration in
computational neuroscience (CRCNS) project "DataGit: converging catalogues,
warehouses, and deployment logistics into a federated 'data distribution'"
(Halchenko_/Hanke_), co-funded by the US National Science Foundation (`NSF 1912266`_) and the German Federal Ministry of Education and Research (BMBF 01GQ1905).
Additional support is provided by the German federal state of
Saxony-Anhalt and the European Regional Development
Fund (ERDF), Project: `Center for Behavioral Brain Sciences`_, Imaging Platform.

DataLad is built atop the git-annex_ software that is being developed and
maintained by `Joey Hess`_.

The extension was created during the OHBM Hackathon 2020 and wouldn't have been possible without a `dedicated team of volunteers <https://github.com/datalad/datalad-osf#contributors->`_.

.. _Halchenko: http://haxbylab.dartmouth.edu/ppl/yarik.html
.. _Hanke: http://www.psychoinformatics.de
.. _NSF 1912266: http://www.nsf.gov/awardsearch/showAward?AWD_ID=1912266
.. _BMBF 01GQ1411: http://www.gesundheitsforschung-bmbf.de/de/2550.php
.. _Center for Behavioral Brain Sciences: http://cbbs.eu/en/
.. _git-annex: http://git-annex.branchable.com
.. _Joey Hess: https://joeyh.name
12 changes: 12 additions & 0 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Python API
==========

``datalad-osf`` has two main commands that are exposed as functions via ``datalad.api`` and as methods of the ``Dataset`` class: ``osf_credentials`` for OSF authentication management, and ``create_sibling_osf`` for interactions with the OSF.
Find out more about each command below.

.. currentmodule:: datalad.api
.. autosummary::
:toctree: generated

osf_credentials
create_sibling_osf
2 changes: 0 additions & 2 deletions docs/source/cloneosfdata.rst

This file was deleted.

13 changes: 13 additions & 0 deletions docs/source/cmd.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. _cmd:

Command line reference
======================

``datalad-osf`` has two main commands: ``datalad osf-credentials`` for OSF authentication management, and ``datalad create-sibling-osf`` for interactions with the OSF.
Find out more about each command below.

.. toctree::
:maxdepth: 1

generated/man/datalad-create-sibling-osf
generated/man/datalad-osf-credentials
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@
master_doc = 'index'

# General information about the project.
project = u'Datalad Extension Template'
copyright = u'2018-{}, DataLad team'.format(datetime.datetime.now().year)
project = u'Datalad-OSF'
copyright = u'2020-{}, DataLad team'.format(datetime.datetime.now().year)
author = u'DataLad team'

# The version info for the project you're documenting, acts as replacement for
Expand Down
7 changes: 7 additions & 0 deletions docs/source/contributing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.. _contribute:

Contributing
============

If you have any questions, comments, bug fixes or improvement suggestions, feel free to contact us via our `Github page <https://github.com/datalad/datalad-osf>`_.
Before contributing, be sure to read the `contributing guidelines <https://github.com/datalad/datalad-osf/blob/master/CONTRIBUTING.md>`_.
87 changes: 0 additions & 87 deletions docs/source/exportdatacode.rst

This file was deleted.

82 changes: 0 additions & 82 deletions docs/source/exporthumandata.rst

This file was deleted.

13 changes: 13 additions & 0 deletions docs/source/git-annex-utils.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. include:: ./links.inc

git-annex utilities
===================

``datalad-osf`` comes with a git-annex special remote implementation for the OSF.
Find out more by clicking on the module name below.

.. currentmodule:: datalad_osf
.. autosummary::
:toctree: generated

annex_remote.OSFSpecialRemote
62 changes: 16 additions & 46 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,69 +1,39 @@
.. include:: ./links.inc

DataLad extension to interface with OSF
***************************************
DataLad-OSF: Opening up the Open Science Framework for DataLad
--------------------------------------------------------------

This extension enables DataLad_ to work with the Open Science Framework (OSF_).
Use it to publish your dataset's data to an OSF project to utilize the OSF for dataset data storage and easy dataset sharing.
This `DataLad extension <handbook.datalad.org/en/latest/r.html?extensions>`_ enables DataLad_ to work with the Open Science Framework (OSF_).
Use it to publish your dataset's data to an OSF project to utilize the OSF for dataset data storage and share and collaborate on datasets.

The extension was created during the OHBM Hackathon 2020.
.. figure:: _static/git-annex-osf-logo.png

If you have any questions, comments, bug fixes or improvement suggestions, feel free to contact us via our `Github page <https://github.com/datalad/datalad-osf>`_.
Before contributing, be sure to read the `contributing guidelines <https://github.com/datalad/datalad-osf/blob/master/CONTRIBUTING.md>`_.

The extension was created during the `OHBM Hackathon 2020 <https://ohbm.github.io/hackathon2020/>`_ and wouldn't have been possible without a `dedicated team of volunteers <https://github.com/datalad/datalad-osf#contributors->`_.
If you want to get in touch or on board as well, please see our :ref:`contributing guidelines <contribute>`.

.. toctree::

Documentation
=============
Documentation overview
^^^^^^^^^^^^^^^^^^^^^^

.. toctree::
:maxdepth: 2

intro
settingup
exporthumandata
exportdatacode
cloneosfdata


API
===

High-level API commands
-----------------------

.. currentmodule:: datalad.api
.. autosummary::
:toctree: generated

create_sibling_osf
osf_credentials


Command line reference
----------------------
tutorial
contributing
acknowledgements

.. toctree::
:maxdepth: 1

generated/man/datalad-create-sibling-osf
generated/man/datalad-osf-credentials



Git-annex utilities
-------------------

.. currentmodule:: datalad_osf
.. autosummary::
:toctree: generated

annex_remote.OSFSpecialRemote
cmd
api
git-annex-utils


Indices and tables
==================
^^^^^^^^^^^^^^^^^^

* :ref:`genindex`
* :ref:`modindex`
Expand Down
Loading