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

Refactor project README.md structure #36

Closed
vchendrix opened this issue Feb 1, 2021 · 5 comments
Closed

Refactor project README.md structure #36

vchendrix opened this issue Feb 1, 2021 · 5 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@vchendrix
Copy link
Contributor

vchendrix commented Feb 1, 2021

Refactor REAMDE.md structure to be more user friendly.

  • New README.md structure
    • project name (README.md)
    • description (README.md)
    • link to documentation website (README.md)
    • installation instructions (README.md)
    • Link to how to contribute (CONTRIBUTE.md)
    • Change log (CHANGES.md) - with the 2 versions and releases
    • Authors
    • License (LICENSE.md)
    • Copyright (README.md)
    • Acknowledgements (README.md) - make comment and ask charu
  • Update license file (to with repostory name)
  • Add a contributing file with getting started for developers. (add dev practices, documentation, testing, etc.)
  • Update setup.py with updated information
  • Setup github io docs (moved to separate ticket)
setup(name='basin3d',
      version=__release__,
      description='BASIN-3D Core Framework',
      long_description=README,
      author='Val Hendrix, <list all authors>',
      author_email='vchendrix@lbl.gov, <list all author emails>',
      url='https://github.com/BASIN-3D/basin3d',
      packages=packages,
      data_files=['basin3d/data/basin3d_variables_hydrology.csv',
                  'basin3d/plugins/mapping_usgs.csv'],
      include_package_data=True,
      install_requires=[
         "pandas",
         "pyyaml",
         "requests",
         "tinydb"
      ]
      )
@vchendrix vchendrix added the documentation Improvements or additions to documentation label Feb 1, 2021
@vchendrix vchendrix added this to To do in Opensource 2021 via automation Feb 1, 2021
@heycatwonton heycatwonton moved this from To do to In progress in Opensource 2021 Mar 23, 2021
@heycatwonton heycatwonton mentioned this issue Mar 23, 2021
11 tasks
@heycatwonton
Copy link
Contributor

heycatwonton commented Mar 26, 2021

@vchendrix @dschristianson

In order for Github Pages to work:

  1. Create an empty .nojekyll file in the docs directory (root) to turn off Jekyll.
  2. Create index.html file in the docs directory (root) with contents:
  • <meta http-equiv="refresh" content="0; url=./docsrc/html/index.html" />
  1. Create seperate directory docsrc, to build documentation and add docsrc directory to repo
  2. Change the Sphinx build directory to documentation in your Makefile:
    BUILDDIR = docsrc
  3. Run make html
  4. add, commit and push:
  • docsrc/
  • index.html
  • .nojekyll
  • Makefile
  1. In Settings -> GitHub Pages -> Source -> choose <branch>/docs
  2. Visit https://heycatwonton.github.io/basin3d/

Notes: _build and build are both directories .gitignore will ignore. As you know, ignored files cannot be tracked and added to git. Without adding the actual documentation after build, Github Pages is unable to reference and host them. I used docsrc as the directory for building the docs but can be changed to something else.

Source: sphinx-doc/sphinx#3382

@heycatwonton
Copy link
Contributor

TODO: pip install directory from repo

@heycatwonton
Copy link
Contributor

@charuleka We are working on the basin3d README file, and below is Acknowledgments. Does this look right to you or are there any edits you'd like to make?

Acknowledgments
This research is supported as part of the Watershed Function Scientific Focus Area funded by the U.S. Department of Energy, Office of Science, Office of Biological and Environmental Research under Award no. DE-AC02-05CH11231. This research used resources of the National Energy Research Scientific Computing Center (NERSC), U.S. Department of Energy Office of Science User Facility operated under Contract No. DE-AC02-05CH11231.

@charuleka
Copy link

charuleka commented Mar 30, 2021 via email

heycatwonton pushed a commit that referenced this issue Mar 30, 2021
checkpoint, first draft

Closes #36
@heycatwonton heycatwonton moved this from In progress to Review in progress in Opensource 2021 Mar 30, 2021
heycatwonton pushed a commit that referenced this issue Apr 2, 2021
Adds changelog to README and Sphinx documentation. Adds contributing to README, edits install instructions. Adds copyright and license to documentation. Renames api.rst and models.rst files. Changes basin3d-core to basin3d reference in documentation. Changes setup.py. Moves items around in table of contents.

Closes #36
heycatwonton pushed a commit that referenced this issue Apr 2, 2021
Adds changelog to README and Sphinx documentation. Adds contributing to README, edits install instructions. Adds copyright and license to documentation. Renames api.rst and models.rst files. Changes basin3d-core to basin3d reference in documentation. Changes setup.py. Moves items around in table of contents.

Closes #36
heycatwonton pushed a commit that referenced this issue Apr 2, 2021
Adds changelog to README and Sphinx documentation. Adds contributing to README, edits install instructions. Adds copyright and license to documentation. Renames api.rst and models.rst files. Changes basin3d-core to basin3d reference in documentation. Changes setup.py. Moves items around in table of contents.

Closes #36, #35, #20
vchendrix pushed a commit that referenced this issue Apr 2, 2021
Adds changelog to README and Sphinx documentation. Adds contributing to README, edits install instructions. Adds copyright and license to documentation. Renames api.rst and models.rst files. Changes basin3d-core to basin3d reference in documentation. Changes setup.py. Moves items around in table of contents.

Closes #36, #35, #20
heycatwonton pushed a commit that referenced this issue Apr 5, 2021
Adds changelog to README and Sphinx documentation. Adds contributing to README, edits install instructions. Adds copyright and license to documentation. Renames api.rst and models.rst files. Changes basin3d-core to basin3d reference in documentation. Changes setup.py. Moves items around in table of contents. Adds email addresses to setup.py.

Closes #36, #35, #20
heycatwonton pushed a commit that referenced this issue Apr 5, 2021
Adds authors and addresses to setup.py, points key_function in indecontent.html to key_functions.

Closes #36. References and closes #35, #20
heycatwonton pushed a commit that referenced this issue Apr 5, 2021
Adds authors and addresses to setup.py, points key_function in indecontent.html to key_functions.

Closes #36. References and closes #35, #20
heycatwonton pushed a commit that referenced this issue Apr 5, 2021
Adds authors and addresses to setup.py, points key_function in indecontent.html to key_functions.

Closes #36, #35, #20
@heycatwonton heycatwonton moved this from Review in progress to Done in Opensource 2021 Apr 6, 2021
@heycatwonton
Copy link
Contributor

heycatwonton commented May 4, 2021

edit: closing manually but issue would've been closed after branch is merged to main (not release)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
No open projects
Development

No branches or pull requests

3 participants