Open Jeconias opened 1 year ago
This feature allows the use of the docsify-edit-on-github plugin which needs the original file name in the path.
Added WEB_FILE_NAME as an option in the configuration.
WEB_FILE_NAME
If you add webFileName to .c4builder, each .md will be named exactly the same as the defined value. The default value is HOME, see.
webFileName
.c4builder
.md
HOME
This feature ability to use the original file name and remove the default value (HOME).
NOTE: To maintain compatibility with previous versions of links, add a new option in .c4builder:
{ "webFileName": "HOME" }
Without this feature or with the webFileName option equal to "HOME":
https://github.com/adrianvlupu/C4-Builder/assets/32512776/b9bb4a99-f281-4589-8387-a6cbd80c7f2f
With this feature and webFileName not defined or empty:
https://github.com/adrianvlupu/C4-Builder/assets/32512776/83479598-af77-4172-823b-52d608ddb0c0
Why
This feature allows the use of the docsify-edit-on-github plugin which needs the original file name in the path.
What
Added
WEB_FILE_NAME
as an option in the configuration.How to use
If you add
webFileName
to.c4builder
, each.md
will be named exactly the same as the defined value. The default value isHOME
, see.This feature ability to use the original file name and remove the default value (HOME).
NOTE: To maintain compatibility with previous versions of links, add a new option in
.c4builder
:Example
Without this feature or with the
webFileName
option equal to "HOME":https://github.com/adrianvlupu/C4-Builder/assets/32512776/b9bb4a99-f281-4589-8387-a6cbd80c7f2f
With this feature and
webFileName
not defined or empty:https://github.com/adrianvlupu/C4-Builder/assets/32512776/83479598-af77-4172-823b-52d608ddb0c0