foliant-docs / foliant

Comprehensive markdown-based documentation toolkit
https://foliant-docs.github.io/docs/
MIT License
160 stars 9 forks source link

allow single and double quotes in tag params, add yaml tags #46

Closed Vanderhoof closed 5 years ago

Vanderhoof commented 5 years ago
  1. Allow tag params to be stated in either 'single quotes' or "double quotes".
  2. Process tag params with yaml.load() instead of cast_value().
  3. Add two new config tags:

!project_path — Path object relative to project root without validation. !rel_path — just Path object, for preprocessors to treat like path relative to current file. This tag is necessary to interpret paths in tag parameters correct in includes.

codecov[bot] commented 5 years ago

Codecov Report

Merging #46 into develop will increase coverage by 2.47%. The diff coverage is 62.5%.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop     #46      +/-   ##
==========================================
+ Coverage    75.42%   77.9%   +2.47%     
==========================================
  Files           13      13              
  Lines          350     344       -6     
==========================================
+ Hits           264     268       +4     
+ Misses          86      76      -10
Impacted Files Coverage Δ
foliant/preprocessors/base.py 77.77% <100%> (+23.93%) :arrow_up:
foliant/config/path.py 75% <57.14%> (-5%) :arrow_down:

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 e289984...2c554cf. Read the comment docs.