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

Allow to open the online manual from Qucs #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

in3otd
Copy link

@in3otd in3otd commented Feb 18, 2018

This goes together with Qucs/qucs#448.
The manual pages generation has been modified to add an additional internal reference to (almost) all components in the Component Reference page using the related component model; e.g. component_reference.html#vccs will point to the VCCS component.
Components sharing a model (e.g. PNP and NPN BJTs) have a model link to the first component only. Ideally these components should be somehow grouped together but this is not done yet.

Since a component can be in more than one Category, a separated Categories Reference page has been created to more easily see the content of each category.
The Quick Reference page is now sorted according to the Device field description alphabetical order.

I have also added the possibility to include additional information for every component (model); a reStructuredText file with the same name as the component model will be appended (if it exists) to the component description. This allows also to include internal links to other components, e.g. now at the end of the 3 Mutual Inductors components, the manual shows:

image

These additional info files are currently placed in a dedicated directory; in the future this might be extended to have a dedicated directory for every component: this will allow to easily add more complex things, with pictures, examples, etc.

I did not include the updated generated manual - I'll leave this to @guitorri so he can check if all this works 😁 . I was not actually sure if it should be updated, maybe it should go to a new page on GitHub, like http://qucs.github.io/qucs-manual/develop/ instead of http://qucs.github.io/qucs-manual/0.0.19/

so that the "online help" of each component can point to the
component help page. Actually Qucs will point to the component model
help, which will be a link to the first component using a particular
model.
Each component in the Component Reference pages has two references
(labels):
- an internal one, used for internal links in the html help
- an external one, used by the Qucs GUI, which referes to the
component model
for every component (actually, model) by using an external file
with the same name as the component model.
The file will be included at the end of the component description.

A few examples of additional info for some components are included.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant