Is it possible to create a central glossary with doxygen - doxygen
I want to create and link to a central glossary using doxygen.
For creating the glossary, I would use a "glossary.md" file in my doxygen search path. The content is available through "related pages".
Would it be possible to link to entries in this glossary page from anywhere in my documentation?
Best regards
Andreas
I was able to solve the problem using the sections command and references onto them, but more elegant solutions would be welcome.
So my glossary.md file looks like:
#section GLOSSARY_ISR ISR
Interrupt service routine: ...
In my Doxyfile I added
ALIASES = "glos{1}=[\1](\ref GLOSSARY_\1)"
to be able to use a simple syntax from my code documentation as the following
Therefore an \glos{ISR} is used
Related
Is it possible to use mkdocs without links related to filename
Here is the issue: Mkdocs use filename to build links. However, users who update the doc often change the name of the files, as they use ordered titles (1 1 Introduction.md, 1 2 Main Content.md, ...) Of course, they put links to other pages in their doc like this : (Introduction)[./1%201%20Introduction/#Paragraph2] When they change the filename, the link ends up broken. Is there any way to link to another page#anchor without referring to filename and avoid broken link when changing file name? (Plugin, option in mkdocs, something I missed, ...) Thanks in advance
I found the answer, and it was really obvious. We don't use the nav property of the yml file to build the tree automatically and we could define it to avoid being dependent on file name for ordering. Therefore, the filename could still not be modified but we can define the ordering in the nav property and rename the page title easily. Obvious solution, but we missed it.
Columns Layout export
Sparx Enterprise Architect offers the possibility to define custom layouts for list views in the package browser and to save these definitions. When exporting a Project file (*.eap) via xmi, these definitions are not included in the export-file and thus lost. I wonder whether there exists a way to transfer columns layout definitions between two EA-Projects. Many thanks in advance for every hint!
As Geert suggested the layout is stored in the registry. [HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\OPTIONS] holds a key PKG_BRWSE_LAYOUTS with the comma separated list of profile names (so you better don't use comma in your profile name ;-). The detailed information is stored in [HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\EA1200Workspace\BCGPGrids\EA_ELEMENT_LIST_<name>BCGPGrid-0] where <name> is the according profile name. For a sample layout here they looked like "Columns"=hex:11,00,01,00,00,00,01,00,00,00,01,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,01,00,00,00,01,00,00,00,01,00,00,00,01,00,00,00 "ColumnWidth"=hex:11,00,16,00,00,00,04,01,00,00,50,00,00,00,50,00,00,00,50,00,\ 00,00,50,00,00,00,50,00,00,00,50,00,00,00,50,00,00,00,50,00,00,00,50,00,00,\ 00,50,00,00,00,50,00,00,00,50,00,00,00,50,00,00,00,50,00,00,00,50,00,00,00 "ColumnOrder"=hex:08,00,00,00,00,00,01,00,00,00,06,00,00,00,02,00,00,00,0d,00,\ 00,00,0e,00,00,00,0f,00,00,00,10,00,00,00 "Groupping"=hex:00,00 "LastFieldChooserPos"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 "IsFieldChooserVisible"=dword:00000000 "IsFieldChooserThemed"=dword:00000001 "SortColumns"=hex:00,00 I have to leave that to you to decipher the coding used here. But for a pure ex-/import you probably don't need to do that.
doxygen auto reference external links?
I use some external libraries in my project, e.g. libev. I realize I can use markdown (or href) and put [libev](http://software.schmorp.de/pkg/libev.html) in my document. However that only works in a single place, and I don't want to have to put that in the dozens of places I refer to libev. If it's "ClientWatcher" (one of my classes), doxygen auto links to the class. Is there some way to tell doxygen to make all occurrences of the word "libev" auto link to http://software.schmorp.de/pkg/libev.html (for example)
If you add ALIASES += libev="libev" to Doxygen's configuration file you can use the \libev command to generate a link, like so /** #mainpage * See \libev for more info. */
Generate a list of keywords using Doxygen
I am curious if it is possible to generate a list of keywords, a index if you will, for easy reference by doxygen ? I am not talking of list of classes etc. but specific words that are used as indexes.
This is possible but AFAIK only with the Latex/pdf output, with the command \addindex See the manual. If anybody knows a way to produce an index with the HTML, I would be very interested too.
xrefitem With this you can create a page for each of your keywords. One example they already make an alias for: \xrefitem todo "Todo" "Todo List" You can add other aliases in your Doxygen file: ALIASES += "reminder=\xrefitem reminders \"Reminder\" \"Reminders\"" Then in the code you can do something like: \reminder Add the cool feature here. And you'll get a Reminder page with the list of reminders on it.
Customizing single entry templates in ExpressionEngine (1.6.x)
This is either very annoying or very embarrassing. I've set up most of my blog, but I can't figure out where or how the heck I set up single entry templates as opposed to the section/weblog containing them. I just can't find information on how to do it for the life of me. This is especially important, because I want to define the canonical link for all entries, since ExpressionEngine links to entries in all kinds of ways. So, the case is that I have a Blog section/weblog with an index working as the front page for mydomain.com. This lists all my entries as you would imagine a regular blog to do. The problem arises when I need to customize the code for the single entries' links.
If you have a template set up already which is showing a multitude of entries and you want a single entry page for each entry then what you need to do is this : {exp:channel:entries channel="default_site" sort="asc" disable="member_data|pagination|categories"} {title} {/exp:channel:entries} Then in the template shown above by template_group/template_name (please change those to whatever your template group and template names actually are ;-) ) you will place this code : {exp:channel:entries channel="default_site" limit="1" dynamic="yes" sort="asc" disable="member_data|pagination|categories"} {title} {/exp:channel:entries} This will then show you just the one entry as you will have used the {url_title_path="template_group/template_name"} in the first channel entries tag above which would basically create a URI something like this : http://www.example.com/template_group/template_name/url_title_of_my_posted_entry On the second (template_group/template_name) single entry template page it will see the URL title and use this to filter down the channel entries tag to just that one entry. Hope that helps a bit. Best wishes,