-
Notifications
You must be signed in to change notification settings - Fork 100
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
New Documentation Structure #327
Conversation
@devmotion how do we add a new folder (e.g. |
@@ -0,0 +1,78 @@ | |||
--- | |||
title: Getting Started | |||
permalink: /:collection/:name/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would these fields of permalink
and redirect_from
still work with jmd
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied this structure from all the files in TuringTutorials/tutorials
, but I am assuming this is read by the build process. Perhaps @devmotion could also advise here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's not relevant for weaving at all IIRC, it's just copied to the Markdown output (e.g., https://github.com/TuringLang/TuringTutorialsOutput/blob/main/markdown/00-introduction/00_introduction.md). This is just used by the Jekyll setup in turing.ml AFAIK.
Thanks @cgbotta it looks good overall. I think some additional work is needed to fix the |
To the buildkite CI? One has to change the configuration in https://github.com/TuringLang/TuringTutorials/tree/master/.buildkite, the structure in https://github.com/TuringLang/TuringTutorialsOutput/ (everything has to be moved to subfolders I wonder if it would be simpler, and docs and tutorials more cleanly separated, if one would use a separate repo instead of multiple subfolders. Or if one should just move everything into |
I also think it is simpler to setup and maintain to have both docs and tutorials under one new folder (e.g. |
Thank you both for the input - I agree with one main Is there a preference for me to port all of the |
Let's setup the workflow first. We can have a few more additional PRs to transfer all other doc md files. |
I think it would be good to change the structure (ie move tutorials to docs) first before adding any new pages (ie even without the one in this PR), since that also requires downstream changes. |
After looking through the build process, there is a fair bit of refactoring involved across many files to change the name of the folder from By leaving the folder named All that should be needed after this is to update the navigation bar. We could test it by only changing the first item https://turing.ml/v0.21/docs/using-turing/get-started |
If we keep the |
Good point - I am all for simplicity here 👍 Perhaps |
That sounds like a good tradeoff between minimal disruptions and being descriptive for now. Let us be incremental here, we can rename the tutorials to reflect a new naming scheme when things settle down a bit. |
Buildkite reports an error:
Could you add Project.toml and Manifest.toml (with Julia 1.6) and add the folder to the CompatHelper Github action? |
@cgbotta it seems the build is broken. https://buildkite.com/julialang/turingtutorials/builds/185#018414e3-f154-4902-a5b3-f01bacda6dd8 |
I was just having a look at that. I see this:
Not quite sure what that is implying is wrong, but I am digging through some of the build kite pipelines. Could it be an issue with the commit a week ago that added coppermind v1? |
I think that's correct. Updating this PR with changes from the |
|
Thanks Hong - forgive me if this is obvious, but that be show anything different from the posterior densities given when running |
I think |
Thanks, @cgbotta! |
As discussed with @yebai, we are porting all the
md
files in the "Using Turing" section of the public-facing site tojmd
. This entails porting everything from https://github.com/TuringLang/Turing.jl/tree/master/docs/src/using-turing toTuringTutorials/docs
. We are going to mimic the structure of theTuringTutorials/tutorials
directory.I began this process by adding a
source_folder
argument to the weave functions so that they can be used for weaving both tutorials and the new documentation (docs) folder. I also ported the first lesson.Open questions I have are: