You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I. was wondering how to exclude certain folders or files from being valed. My scenario is the following:
I have a bunch of Julia (.jl), Markdown (.md, documentation) and Quarto ( .qmd, Tutorials) files in my repository.
In the beginning I only had the documentation under vale, before Julia started to be available.
My problem then was, that the Quarto files are actually rendered into the documentation and end up being Markdown files therein; though they are not under version control, since these are automatically generated (when generating the docs).
So the problem was now, that anything vale noticed was either
just in the derived markdown files (when not considering .qmd files), but then it is hard to fix, since line numbers might of course change when rendering Quarto files. (evaluation code and displaying its results in the markdown file)
including .qmd meant every error shows up twice.
So I wanted to exclude a folder and did read somewhere here, that that is not possible.
Yesterday I found that one can just set the BasedOnStyles for that folder to nothing.
[docs/src/tutorials/*.md]
; ignore since they are derived files
BasedOnStyles =
This nicely excludes this folder of (automatically generated) files and I get only one error (in the .qmd files); I also do not have to run all quarto rendering to check whether my fix solved the error.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I. was wondering how to exclude certain folders or files from being
vale
d. My scenario is the following:I have a bunch of Julia (
.jl
), Markdown (.md
, documentation) and Quarto (.qmd
, Tutorials) files in my repository.In the beginning I only had the documentation under vale, before Julia started to be available.
My problem then was, that the Quarto files are actually rendered into the documentation and end up being Markdown files therein; though they are not under version control, since these are automatically generated (when generating the docs).
So the problem was now, that anything
vale
noticed was either.qmd
files), but then it is hard to fix, since line numbers might of course change when rendering Quarto files. (evaluation code and displaying its results in the markdown file).qmd
meant every error shows up twice.So I wanted to exclude a folder and did read somewhere here, that that is not possible.
Yesterday I found that one can just set the
BasedOnStyles
for that folder to nothing.This nicely excludes this folder of (automatically generated) files and I get only one error (in the
.qmd
files); I also do not have to run all quarto rendering to check whether my fix solved the error.Maybe this is helpful for someone.
Beta Was this translation helpful? Give feedback.
All reactions