Skip to content

Fixing docs following breaking change - #1562

Merged
odow merged 8 commits into
jump-dev:od/rm-SingleVariablefrom
matbesancon:rm-singlev-doc
Aug 28, 2021
Merged

odow merged 8 commits into
jump-dev:od/rm-SingleVariablefrom
matbesancon:rm-singlev-doc

Conversation

@matbesancon

Copy link
Copy Markdown
Contributor

No description provided.

@matbesancon matbesancon changed the title first take on improved docs Fixing docs following breaking change Aug 27, 2021
@matbesancon

Copy link
Copy Markdown
Contributor Author

I'm surprised some of the docstrings here did not break before, the formatting of the output was incorrect with 1.6 printing

@blegat

blegat commented Aug 27, 2021

Copy link
Copy Markdown
Member

@matbesancon

Copy link
Copy Markdown
Contributor Author

yes I saw that. Why are we using Julia 1.0? I can understand checking the tests on a legacy version, but doctests sounds weird, this is what people will use to read, and likely more on Julia stable than 1.0.

Furthermore this means

  1. the docs will take way more time to build
  2. one needs julia 1.0 locally to build the docs

@matbesancon

Copy link
Copy Markdown
Contributor Author

I can revert the changes but am very skeptical on the interest of 1.0 here

@matbesancon

Copy link
Copy Markdown
Contributor Author

this also means that finally dropping 1.0 support will require some extra work fixing all the docstrings

Comment thread src/Utilities/functions.jl Resolved
@blegat

blegat commented Aug 27, 2021 •

Copy link
Copy Markdown
Member

Why are we using Julia 1.0?

No one took the effort to upgrade I think. I'm in favor of updating this to Julia v1.6

@odow

odow commented Aug 28, 2021

Copy link
Copy Markdown
Member

You can run with doctests=:fix to update the docs. We could do that in a separate PR.

Comment thread test/Utilities/model.jl
end

function _test_T
function _test_T()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Haha. I didn't consider this edge case.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Was it caused by one of the regexes I assume?

@odow
odow merged commit 2db51ea into jump-dev:od/rm-SingleVariable Aug 28, 2021
odow pushed a commit that referenced this pull request Aug 31, 2021
odow pushed a commit that referenced this pull request Aug 31, 2021
@matbesancon
matbesancon deleted the rm-singlev-doc branch August 31, 2021 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants