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

No index for the newly added languages #593

Open
ahmad88me opened this issue Jun 11, 2023 · 4 comments
Open

No index for the newly added languages #593

ahmad88me opened this issue Jun 11, 2023 · 4 comments
Labels
new feature request for supporting a new feature
Milestone

Comments

@ahmad88me
Copy link

Describe the bug
The index is not generated for newly added languages.

To Reproduce
Steps to reproduce the behavior:

  1. Generate the documentation with the configuration file for some languages.
  2. Regenerate the documentation using the configuration file from the previous step but with more languages.
  3. There won't be an index file for the newly added languages.

Expected behavior
Generate an index file for the newly added languages

Version
1.4.19

@dgarijo dgarijo added the bug label Jun 12, 2023
@dgarijo dgarijo added this to the v1.4.xx milestone Jun 12, 2023
@dgarijo
Copy link
Owner

dgarijo commented Jun 13, 2023

@ahmad88me which commands are you using to generate the doc?
Because if you ask the program o not re-generate an index file for the new languages, I am afraid it's outside logic, not Widoco's.

@ahmad88me
Copy link
Author

with the -crossRef, -confFile and -lang en-es-it-fr .. I created an issue in OnToology to address this OnToology/OnToology#653

@dgarijo
Copy link
Owner

dgarijo commented Jun 17, 2023

so -crossRef is telling Widoco NOT to generate an index file:

-crossRef: ONLY generate the overview and cross reference sections. The index document will NOT be generated. The htaccess, provenance page, etc., will not be generated unless requested by other flags. This flag is intended to be used only after a first version of the documentation exists.

@dgarijo
Copy link
Owner

dgarijo commented Jun 17, 2023

This is therefore outside logic. I will leave the issue open in case I can add a new parameter such as "if an index exists, do not regenerate it". But it may not be easy since the index can be named as anything.

@dgarijo dgarijo added new feature request for supporting a new feature and removed bug labels Jun 17, 2023
@dgarijo dgarijo modified the milestones: v1.4.xx, v1.X.0 Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature request for supporting a new feature
Projects
None yet
Development

No branches or pull requests

2 participants