Coder Social home page Coder Social logo

Improve doc in readthedocs about mcthings HOT 10 CLOSED

voxelers avatar voxelers commented on May 25, 2024
Improve doc in readthedocs

from mcthings.

Comments (10)

acs avatar acs commented on May 25, 2024

Ok, first step is to select a more attractive theme. Probably this can be done using the readthedocs config options. Let's see.

https://readthedocs.org/projects/rtd-sphinx-theme-sample-project/

  • lastest
  • nature

To change the theme:

https://docs.readthedocs.io/en/rel/theme.html

89b157c

Screenshot from 2020-04-25 17-33-19

from mcthings.

acs avatar acs commented on May 25, 2024

Ok, cool. Now, we need that the README.md is included in land page of readthedocs. And for it, we need to convert it to rst during the doc generation.

from mcthings.

acs avatar acs commented on May 25, 2024

To include the README.md contents:
https://zj-zhang.github.io/2019/02/24/use_sphinx/

from mcthings.

acs avatar acs commented on May 25, 2024

There is an issue with m2r now:

sphinx-doc/sphinx#7420

from mcthings.

acs avatar acs commented on May 25, 2024

When having issues the best reference is: https://docs.readthedocs.io/en/stable/faq.html

from mcthings.

acs avatar acs commented on May 25, 2024

https://markdown-publishing-guide.readthedocs.io/en/latest/markdown-publishing-guide.html#introduction

from mcthings.

acs avatar acs commented on May 25, 2024

It is not easy to make Markdown appears right on readthedocs:

https://www.sphinx-doc.org/en/master/usage/markdown.html

Ok, I can convert my markdown pages to rst but the results are just horrible:

Screenshot from 2020-04-25 18-55-46

So I think I am going to stop trying to include the md files in readthedocs.

It seems that the problem is just with URL links.

from mcthings.

acs avatar acs commented on May 25, 2024

Ok, so in readthedocs there is also the code documentation to use the library.

from mcthings.

acs avatar acs commented on May 25, 2024

If we want to have all the doc in readthedocs the approach seems to be to use rst format to create the doc. GitHub supports it.

For example, it is the way used by https://minecraft-stuff.readthedocs.io/en/latest/index.html

from mcthings.

acs avatar acs commented on May 25, 2024

Taking a look to other projects with nice doc like:

https://bootstrap-datepicker.readthedocs.io/en/master/

they have specific doc in rst format for it.

https://github.com/uxsolutions/bootstrap-datepicker/blob/master/docs/index.rst

Too much effort for the current state of McThings!

from mcthings.

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.