developers:generate_doc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
developers:generate_doc [2017/08/04 08:53] – [Input variables : How to add/modify ?] Xavier Gonze | developers:generate_doc [2018/05/26 22:43] – [The ABINIT HTML doc] Xavier Gonze | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== The ABINIT HTML doc ====== | + | ====== The ABINIT HTML doc (obsolete) |
+ | |||
+ | ** THE INFORMATION ABOUT THE MANAGEMENT OF THE DOCUMENTATION HAS BEEN TRANSFERRED TO THE MAIN ABINIT SITE, AT | ||
+ | https:// | ||
List of variables, lessons of the tutorial, help files, ABINIT topics, bibliography, | List of variables, lessons of the tutorial, help files, ABINIT topics, bibliography, | ||
Line 14: | Line 17: | ||
The expansion of special strings is documented in [[developers: | The expansion of special strings is documented in [[developers: | ||
- | It can be used in all the YAML files mentioned below. | + | It can be used in all the YAML files mentioned below. For equations/ |
+ | [[http:// | ||
+ | to process and visualize LaTeX formulas, see also [[developers: | ||
===== Input variables : How to add/modify ? ===== | ===== Input variables : How to add/modify ? ===== | ||
Line 28: | Line 33: | ||
denoted " | denoted " | ||
- | After having edited the info related to one input variable (see the infos at [[developers: | + | After having edited the info related to one input variable (see the infos at [[developers: |
Then, build the HTML using generate_doc.py. | Then, build the HTML using generate_doc.py. | ||
- | |||
===== Bibliographic reference : how to add/modify ? ===== | ===== Bibliographic reference : how to add/modify ? ===== | ||
Line 50: | Line 54: | ||
At variance, the other sections of the topic_NAME.html are created from other sources. The list of input variables that are relevant to this topics is assembled from the information | At variance, the other sections of the topic_NAME.html are created from other sources. The list of input variables that are relevant to this topics is assembled from the information | ||
- | given for these input variables, see [[#input variableshow_to_add_modify|Input variables : how_to_add_modify]], | + | given for these input variables, see [[#input variableshow_to_add_modify|Input variables : how_to_add_modify]], as well as [[developers: |
- | is assembled from the information in each of these input files (see the line " | + | is assembled from the information in each of these input files (add a line "#%% topics |
from the references cited in the " | from the references cited in the " | ||
Line 59: | Line 63: | ||
The list of topics is found in the file ~abinit/ | The list of topics is found in the file ~abinit/ | ||
- | Thus, if you want to a modify " | + | Thus, if you want to a modify " |
+ | |||
+ | To add a new topic, add the name in list_of_topics.yml, | ||
+ | The different components are used by the script generate_doc.py as follows: | ||
+ | * name : must be the name of the topics, also used in the name of file (topic_name.yml) | ||
+ | * keyword : will be inserted in the HTML header to create the Web name of the HTML page, if the default header is used | ||
+ | * authors : will be inserted in the copyright, if the default copyright is used | ||
+ | * howto : will be inserted in the subtitle of the Web page "How to ... ?" if the default subtitle is used | ||
+ | * header : the HTML header (usually, take the default, that uses the component " | ||
+ | * title : the title that will be echoed in the HTML page | ||
+ | * subtitle : the subtitle (usually, take the default, that uses the component " | ||
+ | * copyright : the copyright (usually, take the default, that uses the component " | ||
+ | * links : list of links to other pages (usually, take the default) | ||
+ | * introduction : see above | ||
+ | * tutorials : see above | ||
+ | * end : final tags, take the default | ||
Then, build the HTML using generate_doc.py. | Then, build the HTML using generate_doc.py. |