Coder Social home page Coder Social logo

Move doc to GitHub about cmf HOT 5 CLOSED

philippkraft avatar philippkraft commented on June 1, 2024
Move doc to GitHub

from cmf.

Comments (5)

philippkraft avatar philippkraft commented on June 1, 2024

(w2)

Blogs

https://vincent.bernat.im/en/blog/2011-migrating-to-github

Tools

http://markitdown.medusis.com/
https://pandoc.org

Code

https://gist.github.com/somebox/619537

from cmf.

philippkraft avatar philippkraft commented on June 1, 2024

(a2)

Done and available under https://philippkraft.github.io/cmf

Need to create a nice landing page for philippkraft.github.io

from cmf.

philippkraft avatar philippkraft commented on June 1, 2024

(w1) Solved

(w2) still problematic

(w3) major blocker due to: github/markup#274

That means, no formulas possible in wiki

from cmf.

philippkraft avatar philippkraft commented on June 1, 2024

Alternatives for (w3)

Option 1: Use doxygen for tutorial and API

Tutorials are translated to markdown and saved as .dox files. Doxygen compiles the tutorial together with the API documentation. The result is copied to docs and available under http://github.io/philippkraft/cmf

Pro & Contra:

  • Pro: Simple (automatic) linking between tutorial and API
  • Con: Ugly / Clumsy Doxygen style everywhere

Option 2: Use another compiler eg. Sphinx / Docutil /mkdocs for the tutorial

Tutorials are translated to rst (Sphinx, Docutil) or also markdown (mkdocs). The API documentation from doxygen is compiled into docs/api and the tutorial is compiled into docs/tutorial. A new docs/index.html page will navigate to the tutorials resp. API

Pro & Contra:

  • Pro: Better styles available, esp. Sphinx style is common for Python programs
  • Con: Don't know how to link to API from tutorial

Option 3: Use Jupyter notebooks in the GitHub wiki

See this gist. Jupyter Notebooks might even provide much more functionality for a tutorial

Pro & Contra:

  • Pro: No extra compilation step necessary
  • Pro: Provides functionality for a tutorial
  • Con: More difficult to write (see the source code of the gist).
  • Con: Needs more time to learn
  • Con: Don't know how to link to API from tutorial

from cmf.

philippkraft avatar philippkraft commented on June 1, 2024

Setteled for Option 1. Works super.

from cmf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.