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

1.0: Use {% include %} directive for footer content #324

Open
kenhys opened this issue Jun 3, 2021 · 3 comments
Open

1.0: Use {% include %} directive for footer content #324

kenhys opened this issue Jun 3, 2021 · 3 comments
Labels
enhancement New feature or request pending To be done in the future

Comments

@kenhys
Copy link
Contributor

kenhys commented Jun 3, 2021

Problem

If we need to modify footer content in each page, we should also modify ~170 page files.
It seems better to split it into a separate file.

I've tried to use {% include %} with #322.
It works in local environment, but when it was reverted even though it was merged once.
(I've heard that it was not worked as expected 😞 )

Expected

To keep mainteinanability, use {% include %} or something good alternative for docs.fluentd.org.

Additional Information

image

I've tested with the following version.

% gitbook --version
CLI version: 2.3.2
GitBook version: 3.2.3
@kenhys
Copy link
Contributor Author

kenhys commented Jun 3, 2021

Hmm, https://gitbookio.gitbooks.io/documentation/content/format/conrefs.html
I've deployed test space, but Importing local files does not work on gitbook.io

@kenhys kenhys added the enhancement New feature or request label Jun 8, 2021
@kenhys
Copy link
Contributor Author

kenhys commented Jun 24, 2021

It seems that it is marked as planning status:
https://gitbook.canny.io/feature-requests/p/support-for-footers

@kenhys
Copy link
Contributor Author

kenhys commented Jun 24, 2021

I've overlooked that it seems GitBook v2 (not v1)
https://docs.gitbook.com/resources/gitbook-legacy/v2-differences

@kenhys kenhys added the pending To be done in the future label Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pending To be done in the future
Projects
None yet
Development

No branches or pull requests

1 participant