Giter VIP home page Giter VIP logo

Comments (1)

erez-o avatar erez-o commented on June 18, 2024

Thanks for your interest :)

As far as I can see there are 2 main issues for readthedocs/sphinx and breath - project layout and api documentation.
Both will require a bit of manual conversion, but I think it can be done in a few minutes:

  1. Project and sidebar layout - instead of sphinx layout, you'll need to convert to docsofrge which is quite similar.

    For example, the layout of https://drogon.docsforge.com/ is:

    sidebar:
      Basic Tutorial:
      - Getting Started: README.md
      - License: LICENSE
      Wiki:
      - Overview: wiki/ENG-01-Overview.md
      - Installation: wiki/ENG-02-Installation.md
      - Quick Start: wiki/ENG-03-Quick-Start.md
      - Controller Introduction:
        - index: wiki/ENG-04-0-Controller-Introduction.md
        - Controller HttpSimpleController: wiki/ENG-04-1-Controller-HttpSimpleController.md
        - Controller HttpController: wiki/ENG-04-2-Controller-HttpController.md
        - Controller WebSocketController: wiki/ENG-04-3-Controller-WebSocketController.md
      - Filter: wiki/ENG-05-Filter.md
      - View: wiki/ENG-06-View.md
      - Session: wiki/ENG-07-Session.md
      - Database General:
        - index: wiki/ENG-08-0-Database-General.md
        - DataBase DbClient: wiki/ENG-08-1-DataBase-DbClient.md
        - DataBase Transaction: wiki/ENG-08-2-DataBase-Transaction.md
        - DataBase ORM: wiki/ENG-08-3-DataBase-ORM.md
        - DataBase FastDbClient: wiki/ENG-08-4-DataBase-FastDbClient.md
      - Plugins: wiki/ENG-09-Plugins.md
      - Configuration File: wiki/ENG-10-Configuration-File.md
      - Drogon Ctl Command: wiki/ENG-11-drogon_ctl-Command.md
      - AOP Aspect Oriented Programming: wiki/ENG-12-AOP-Aspect-Oriented-Programming.md
      - Benchmarks: wiki/ENG-13-Benchmarks.md
      - Coz profiling: wiki/ENG-14-Coz.md
      - Coroutines: wiki/ENG-16-Coroutines.md

    Screenshot 2021-03-17 133033

  2. API documentation - docsforge uses doxygen, so anyone coming from breath doesn't have to change anything in the code comments.

    You need to instruct docsforge which folders/files to scan and extract api from. For example, the API in your example https://docs.verilogtorouting.org/en/latest/api/vpr/contexts/#classes was derived from https://github.com/verilog-to-routing/vtr-verilog-to-routing/blob/master/vpr/src/base/vpr_context.h

    To extract any API listed in this file, you need to add the following block to docsforge yaml configuration:

    autodocSettings:
      VPR API:
        baseUrl: api-vpr
        language: cpp
        INPUT: vpr/src/base/vpr_context.h

    Instead of https://github.com/verilog-to-routing/vtr-verilog-to-routing/blob/master/doc/src/api/vpr/contexts.rst which requires maintainence if your code changes, the above block does not.

    You can see a simple example API extraction at https://flecs.docsforge.com/master/api-timers/ , or an example that includes custom user groups at https://flecs.docsforge.com/master/api-c/

Hope this helps :)

from docsforge.

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.