dgarijo / Widoco

Wizard for documenting ontologies. WIDOCO is a step by step generator of HTML templates with the documentation of your ontology. It uses the LODE environment to create part of the template.
Apache License 2.0
284 stars 88 forks source link

No index for the newly added languages #593

Open ahmad88me opened 1 year ago

ahmad88me commented 1 year ago

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 commented 1 year ago

@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 commented 1 year ago

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

dgarijo commented 1 year ago

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 commented 1 year ago

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.