-
Notifications
You must be signed in to change notification settings - Fork 4
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
Use with pkgdown #26
Comments
Not sure I completely understand. Can't you just add the header with the title to the file in combination with the
As for the html-comments. The parsing of this is done by the tools in |
Yes i will probably write something locally that
and I was just wondering if you had any deeper thoughts. The |
What package is it? That I can have a look how it is structured now? |
The rendered pages are here, and the sources with md files (for R, and GitHub) and Rmd files (for I don't want to make this about this package, and it is a little large so it is not a good test case. Happy to create one though if it were used to advance the cause. What we have now it fine -- note for example how (even though we use PS And I may have to give in and call these .Rmd files as the 'source' link is of course stale. And as you say, I can probably add the YAML header anyway. In which case we'd be done here and would just have to document 'how to co-exist with |
Looking at
It seems that I believe the 'fix' to
to
|
In your example you don't seem to execute any code. In that case it is easy to switch between The 'cleaner' way would then be to run |
Earlier versions did. Sometimes I punt and just rely on
Brilliant. I can try that. Then the only cost is a littered (and enlarged) |
One package I look after uses
pkgdown
; the decision to do so predates my involvement with the package. After switching the vignettes in that package tosimplermarkdown
, I noticed thatpkgdown
plainly ignored them. That appears to be a bug inpkgdown
and I reported it as issue #2065 there.Making
pkgdown
usesimplermarkdown
vignettes is still possibly but needs two small changes to accomodatepkgdown
:.Rmd
files, we are forced to create the files with this ending (at least for the processing, I much prefer to keep .md files in the repo)VignetteIndexEntry
we have to add a YAML header with a title field.Again, I consider this to be clear deficiencies in
pkgdown
: if and when R recognises vignette files (as evidenced bybrowseVignettes()
), so should other tools. But we will see if this view is shared, and a change is going to be made.Until then, or in general, both of these issues could be addressed with a contributed helper function. We could tuck it away in
inst/scripts
or something to not have another dependency on a YAML parser just for this. That said, do you have code to parse the header (and html comment) of currentsimplermarkdown
files?The text was updated successfully, but these errors were encountered: