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

Make consistency edits to documentation #1158

Merged
merged 60 commits into from
Jun 17, 2020

Conversation

arjunsavel
Copy link
Contributor

@arjunsavel arjunsavel commented May 20, 2020

Description

I've gone through through the documentation and ensuring consistency throughout:

  • making sure links are correctly linked
  • words are all caps if they should be (e.g. TARDIS)
  • em dashes are used instead of hyphens
  • spaces are used
  • typos are fixed
  • LaTeX is rendered correctly

In addition, I've removed the extra Monte Carlo Primer section in the navigation sidebar (under "The Physics of Tardis") — it's already a subsection within "Physics Overview."

No content changes are being proposed.

Motivation and Context

These changes serve the broader goal of making the documentation as easy to digest for newcomers as possible. The fewer small inconsistencies there are, the smoother the experience of first looking at our documentation will be.

How Has This Been Tested?

I've built the docs locally, and nothing seems to have broken.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@arjunsavel arjunsavel changed the title Make consistency edits for index and installation docs pages. Make consistency edits to documentation. May 20, 2020
@arjunsavel arjunsavel changed the title Make consistency edits to documentation. Make consistency edits to documentation May 20, 2020
@arjunsavel arjunsavel requested review from afloers and chvogl May 28, 2020 15:19
@arjunsavel arjunsavel force-pushed the documentation-edits branch from 8846944 to 973b66e Compare May 28, 2020 18:03
@arjunsavel arjunsavel marked this pull request as draft May 29, 2020 14:14
@arjunsavel arjunsavel marked this pull request as ready for review May 29, 2020 16:50
@arjunsavel
Copy link
Contributor Author

@chvogl @afloers ready for review! I'm thinking that the other items we discussed (now listed under "To do" on this project board) are more related to content additions than just maintaining consistency, so I think they belong in another PR. Please let me know if I've missed anything!

@afloers afloers self-assigned this Jun 1, 2020
Copy link
Contributor

@afloers afloers left a comment

Choose a reason for hiding this comment

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

Very nice work! I built the docs locally and encountered no problems.

I agree that this PR should only remove typos / maintain the consistency of the documentation and not add new stuff.

Have you checked if all occurrences of words like 'hdf5' or 'yaml' have been replaced?

@arjunsavel
Copy link
Contributor Author

@afloers I've now checked for Astropy, HDF5, CMFGEN, GitHub, and YAML!

@wkerzendorf
Copy link
Member

@arjunsavel - sorry there is a merge conflict - we removed physical_quantities and replaced it with a notebook.

@arjunsavel arjunsavel force-pushed the documentation-edits branch from 44d6d28 to 4f4f664 Compare June 2, 2020 19:05
@arjunsavel
Copy link
Contributor Author

@wkerzendorf No worries! I've rebased onto master.

@codecov
Copy link

codecov bot commented Jun 2, 2020

Codecov Report

Merging #1158 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1158   +/-   ##
=======================================
  Coverage   77.13%   77.13%           
=======================================
  Files          89       89           
  Lines        5551     5551           
=======================================
  Hits         4282     4282           
  Misses       1269     1269           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d829b1c...6b4820d. Read the comment docs.

@afloers afloers self-requested a review June 17, 2020 15:45
Copy link
Contributor

@afloers afloers left a comment

Choose a reason for hiding this comment

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

Looks good to me - I would approve merging.

@arjunsavel arjunsavel merged commit e95ca26 into tardis-sn:master Jun 17, 2020
atharva-2001 pushed a commit to atharva-2001/tardis that referenced this pull request Oct 1, 2021
* Make consistency edits for index and installation docs pages.

* Remove spaces from and add comma to quickstart notebook.

* Ensure YAML and CSVY are all caps throughout the Model page.

* Add colon before list in ejecta model configuration page.

* Make YAML spelling consistent in power law density page.

* Make YAML spelling consistent in exponential density page.

* Add hyphens, commas, and make consistent capitalization in custom density page.

* Make consistent spaces inside units and add period to custom density notebook.

* Add spaces, commas, and move parens in uniform composition page.

* Ensure capitalization, add spaces, move parens, add periods to ASCII formatted custom composition page.

* Add em dashes, add periods, remove periods, make parameters code in configuration page.

* Add commas, capitalizations, periods, and code words to config validator page.

* Add comma and period to read_configuration notebook.

* Add periods, commas, bullet points, and capitalizations to atomic data description page.

* Add em dash and periods to command line run page.

* Add commas, capitalizations to tardis gui page.

* Add period and comma to interacting with TARDIS page.

* Make plural consistency on cmfgen page.

* Added colon before list in physics index page.

* Capitalize TARDIS, link external modules when necessary, add a few commas to plasma landing page.

* Add hyphens, capitalize a word, and correct a typo in the Monte Carlo energy packets page.

* Correct typos, add hyphens, move around commas in packet propagation page.

* Correct typos, move commas around in line interaction page.

* Correct typos, moved commas around in estimators page.

* Correct typos, move commas around for virtual packets page.

* Correct typos, move around commas for direct integration page.

* Correct typos and add commas to random sampling page.

* Correct typos in old monte carlo page.

* Fix latex error in old montecarlo

* Fix typos in LTE plasma plage

* Finish up neburlar plasma, make edits to macroactom.

* Correct typos, move commas, attempt latex fix for nlte page.

* Capitalize TARDIS in helium_nlte page.

* Add hyphen in code comparison page.

* Correct spelling of BibTeX.

* Correct spelling of AstroPy, adding a comma to developer workflow page.

* Correct capitalizations, correct typos, shuffle commas in running tests page.

* Correct a few more typos in running tests page.

* Change GitHub spelling on issues page

* Correct typos, commas, and capitalizations in git workflow page.

* Change AstroPy spelling in release workflow page.

* Add a period and shuffle commas in update refdata page.

* Add periods, correct capitalizations, correct typos, and shuffle commas in continuous integration page.

* Change AstroPy spelling, add period at end of developer faq page.

* Format bulleted list better in atomic data description page.

* Capitalize TARDIS; remove montecarlo primer from index, as it is included in the physics overview.

* Capitalize Python in installation page.

* Make final latex equation render correctly

* Reword a few lines in installation page.

* linking Anaconda in installation page

* Add link to CMFGEN reference

* Add period to montecarlo index

* Linking physics is incomplete to TARDIS project board

* did not correctly format links in .rst files

* Had not merged correctly!

* Missed a uncapitalized YAML

* Removed a few double spaces

* Bulleted list was not rendering correctly

* Converting AstroPy to Astropy

* Capitalize TARDIS in new doc notebook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants