python sphinx - Documentation for multi-programming-language API -


i'm part of team working on sdk exposed several programming languages - objc, c#, actionscript, java (android) , later we'll have more languages.

we want have documentation made of 2 parts:

  1. human readable documentation
  2. api reference

there links between 2 parts: human readable docs have links specific classes or methods , api reference may link document explain context in class or method used.

we use combination of sphinx human readable documentation , language specific tools api such doxygen or asdoc

i saw in leapmotion able generate complete documentation multiple programming-language (not human language) cross links between programming-languages.

the question

does know how accomplish such documentation system in way we'll not have duplicate each change in human readable docs every language , have cross links between languages?

i put leap motion documentation. use sphinx create package of docs , breathe, sphinx plug-in, import xml files generated doxygen sphinx project doxygenated api references (c++, c#, java, , objective-c). links so-called "human-readable" pages api references, generate rst substitutions .tag files doxygen generate you. links api reference "human-readable" pages normal, relative hyperlinks (which should add more of).

i use conditional content features of sphinx generate separate set of docs (both "human-readable" , api) each programming language. these articles can customized each programming language needed , have correct code examples current language. because each doc set has same structure, isn't hard switch 1 language another.

i did add custom javascript page templates switch between languages.

tl;dr: sphinx, breathe, doxygen , small amount of custom javascript.

if discuss further, can post question our (leap motion) developer forum. i'll see (stackoverflow isn't proper place ongoing discussion).


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -