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

Remove Manifests from repo #99

Merged
merged 5 commits into from
Jan 27, 2022
Merged

Remove Manifests from repo #99

merged 5 commits into from
Jan 27, 2022

Conversation

st--
Copy link
Member

@st-- st-- commented Jan 27, 2022

And copy Manifest.toml from instantiation into rendered docs

@st-- st-- requested a review from theogf January 27, 2022 15:55
docs/literate.jl Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jan 27, 2022

Codecov Report

❗ No coverage uploaded for pull request base (tgf/remove_manifests@26ad07e). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head b812d52 differs from pull request most recent head 838dbaf. Consider uploading reports for the commit 838dbaf to get more accurate results
Impacted file tree graph

@@                   Coverage Diff                   @@
##             tgf/remove_manifests      #99   +/-   ##
=======================================================
  Coverage                        ?   95.78%           
=======================================================
  Files                           ?        4           
  Lines                           ?      285           
  Branches                        ?        0           
=======================================================
  Hits                            ?      273           
  Misses                          ?       12           
  Partials                        ?        0           

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 26ad07e...838dbaf. Read the comment docs.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
using Literate: Literate

const MANIFEST_OUT = "$(EXAMPLE).Manifest.toml"
Copy link
Member

Choose a reason for hiding this comment

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

Why not save it as joinpath(EXAMPLE, "Manifest.toml") ?

Copy link
Member Author

Choose a reason for hiding this comment

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

because within the preprocess you want to use the filename only, not the full path to the examples/ source directory

Copy link
Member

Choose a reason for hiding this comment

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

Here EXAMPLE is just a-regression for example. And then the loading line can just be [Here is the Manifest](./Manifest.toml)

@theogf theogf changed the base branch from master to tgf/remove_manifests January 27, 2022 16:35
@theogf theogf marked this pull request as ready for review January 27, 2022 16:47
@theogf theogf merged commit 3aba050 into tgf/remove_manifests Jan 27, 2022
@theogf theogf deleted the st/manifests branch January 27, 2022 16:47
theogf added a commit that referenced this pull request Jan 28, 2022
…mples (#97)

* Remove Manifest.toml and append package version at the end of the examples

* Update docs/literate.jl

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fix Regex

* Addressed some comments

* Update docs/literate.jl

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update docs/literate.jl

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Trying to put some HTML

* Format

* Add computer info as well

* Missing using

* Missing hashtags

* Change order Computer info and Manifest

* Remove Manifests from repo (#99)

* make literate.jl copy Manifests into rendered docs

* remove examples Manifest.toml

* Update docs/literate.jl

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Théo Galy-Fajou <[email protected]>

* Removed the Manifest preview (one can download it anyway)

* Formatting

* Apply suggestions from code review

Co-authored-by: st-- <[email protected]>

* Remove docs/Manifest.toml

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: st-- <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants