Skip to content
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

feat(web): add the ability to use the original file name #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jeconias
Copy link

@Jeconias Jeconias commented Jul 5, 2023

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 is HOME, see.

This feature ability to use the original file name and remove the default value (HOME).

NOTE NOTE: To maintain compatibility with previous versions of links, add a new option in .c4builder:

{
  "webFileName": "HOME"
}

Example

Without this feature or with the webFileName option equal to "HOME":

with-home.mov

With this feature and webFileName not defined or empty:

without-home.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant