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

fix "docstring oddities" #175

Merged
merged 3 commits into from
Oct 27, 2020
Merged

Commits on Oct 27, 2020

  1. docstrings: fix spacing before prototypes

    Perl commands:
    $ perl -i -p -e 'BEGIN{undef $/;}  s/"""\n   (\S)/"""\n    \1/smg' $(find -name \*\.jl)
    for examples directory:
    $ perl -i -p -e 'BEGIN{undef $/;}  s/"""\n(\S.*)\n>/"""\n    \1\n>/g' $(find -name \*\.jl)
    rfourquet committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    f499929 View commit details
    Browse the repository at this point in the history
  2. docstrings: add a newline between prototype and description

    Perl command:
    perl -i -p -e 'BEGIN{undef $/;}  s/"""\n((?:    \S.*\n)+)(\S)/"""\n\1\n\2/g' $(find -name \*\.jl)
    rfourquet committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    2394481 View commit details
    Browse the repository at this point in the history
  3. docstrings: remove ">" character at the start of lines

    Perl command:
    perl -i -p -e 's/^> (.+)/\1/g' $(find -name \*\.jl)
    rfourquet committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    816bf3e View commit details
    Browse the repository at this point in the history