You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As previously discussed, both MAAS API docs & Landscape API docs are currently created as ReST files. The simplest way to then include these in this site is to parse those files into Markdown and add them to the existing documentation sets.
It would be nice if this could be an entirely scripted task so it's easy to update them as often as we need. A starting point is (from @degville's work):
The above command still has the following problems:
lists are preceded with a redundant '>' because they're indented in
the original rst document.
image path needs to be './media'
most internal references don't work
I also have a worry about doing this, as also articulated on canonical/ubuntu-core-docs#8, that this breaks the purity of the relationship between the built documentation and the markdown repository. This still needs to be discussed further.
The text was updated successfully, but these errors were encountered:
As previously discussed, both MAAS API docs & Landscape API docs are currently created as ReST files. The simplest way to then include these in this site is to parse those files into Markdown and add them to the existing documentation sets.
It would be nice if this could be an entirely scripted task so it's easy to update them as often as we need. A starting point is (from @degville's work):
The above command still has the following problems:
the original rst document.
I also have a worry about doing this, as also articulated on canonical/ubuntu-core-docs#8, that this breaks the purity of the relationship between the built documentation and the markdown repository. This still needs to be discussed further.
The text was updated successfully, but these errors were encountered: