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

docs: updated contributor guide #627

Merged
merged 13 commits into from
Jun 12, 2024
Merged

docs: updated contributor guide #627

merged 13 commits into from
Jun 12, 2024

Conversation

musslick
Copy link
Collaborator

@musslick musslick commented Jun 6, 2024

Description

This PR updates the contributor guide to the current version of autora 4.0.0 (see detailed list of fixed below).

Type of change

  • docs: Documentation only changes

Features (Optional)

  • removal of the autora-workflow package from the description of core packeges.
  • updated examples of theorist and experimentalist implementations, primarily to be based on pandas dataframes
  • added requirement for contributor repo to be public for inclusion in autora package

Questions (Optional)

  • In the modules/index.md the lists inside the Success and Hint boxes aren't rendering properly. They are just listed without a line brak. I tried changing the "-" to "*" but not sure if that fixed it?
image

@musslick musslick added documentation Improvements or additions to documentation. priority 1 - needed These are highly desirable to be fixed, ideally within 2 weeks. labels Jun 6, 2024
@musslick musslick added this to the Fix Documentation milestone Jun 6, 2024
@musslick musslick self-assigned this Jun 6, 2024
@hollandjg
Copy link
Member

  • In the modules/index.md the lists inside the Success and Hint boxes aren't rendering properly. They are just listed without a line brak. I tried changing the "-" to "*" but not sure if that fixed it?

They're just missing a couple of newlines. I've pushed an extra commit which makes the block look like:

!!! success
    
    In order for your package to be included in the parent package, it must meet the following criteria:
    
    * have basic documentation in ``docs/index.md``
    * have a basic python notebook exposing how to use the module in ``docs/Basic Usage.ipynb``
    * have basic tests in ``tests/``
    * be published via PyPI or Conda
    * be compatible with the current version of the parent package
    * follow standard python coding guidelines including PEP8
    * the repository in which your package is hosted must be public

The following demonstrates how ...

... which renders like:
Screenshot 2024-06-12 at 07 13 37

Copy link
Member

@hollandjg hollandjg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Sebastian,
this looks great! The information is really clear and concise, and covers everything.
The documentation looks really awesome.
I've a couple of very minor changes to suggest, some of which are in a separate PR. #629

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2024-06-12 at 07 16 41 We still have `autora-workflow` in the diagram here.

My feeling is that the dependency arrows point in the wrong direction here, but that might be a question for a different PR and a different day – I know that the way they are feels intuitive for many.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a great catch! We could use the most recent figure from the paper draft. I will create an issue so we can address it in a new PR.

@@ -27,9 +27,9 @@ After setting up your repository and linking it to your GitHub account, you can
You may implement your code in the ``init.py`` located in the respective feature folder in ``src/autora``.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line looks to be formatted incorrectly – it should show __init__.py not init.py

You may implement your code in the ``__init__.py`` located in the respective feature folder in ``src/autora``.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the catch! I committed a fix implementing the suggested renaming from 'init.py' to 'init.py'

docs/contribute/modules/index.md Show resolved Hide resolved
Copy link
Collaborator Author

@musslick musslick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding the line breaks; I didn't know this could help!

@musslick
Copy link
Collaborator Author

Hi Sebastian, this looks great! The information is really clear and concise, and covers everything. The documentation looks really awesome. I've a couple of very minor changes to suggest, some of which are in a separate PR. #629

Thanks a lot John for all the fixes! I approved the request with all the fixes you implemented.

Co-authored-by: John Gerrard Holland <[email protected]>
@musslick musslick requested a review from hollandjg June 12, 2024 16:13
Copy link
Member

@hollandjg hollandjg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@musslick musslick added this pull request to the merge queue Jun 12, 2024
Merged via the queue into main with commit a1fef46 Jun 12, 2024
16 checks passed
@musslick musslick deleted the doc/contributor-update branch June 12, 2024 18:09
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. priority 1 - needed These are highly desirable to be fixed, ideally within 2 weeks.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

contributor documentation must be public doc: check and update contributor guide
2 participants