Skip to content

Refactor doc to restructure and improve #1943#2257

Open
DennisClark wants to merge 5 commits intomainfrom
1943-refactor-doc
Open

Refactor doc to restructure and improve #1943#2257
DennisClark wants to merge 5 commits intomainfrom
1943-refactor-doc

Conversation

@DennisClark
Copy link
Copy Markdown
Member

@DennisClark DennisClark commented Apr 8, 2026

This PR is for:

@TG1999 and @keshav-space I have done the basic restructuring to format the rtd index to be consistent with
https://github.com/aboutcode-org/scancode.io/blob/main/docs/index.rst

Can you please check it over for syntax, etc.

The revised index.rst also points to these files, which I copied to docs/source (but have not removed them from the main level yet):
PIPELINES-AVID.rst
SOURCES.rst
api_v3_usage.rst

We'll probably want to add some explanatory text for the first two to give them some context; this is still a work-in-progress.

@DennisClark DennisClark self-assigned this Apr 8, 2026
@DennisClark DennisClark moved this to In progress in 00-AboutCodePlanner Apr 8, 2026
@pombredanne pombredanne changed the title 1943 refactor doc to restructure and improve Refactor doc to restructure and improve #1943 Apr 30, 2026
Comment thread docs/source/index.rst
- :ref:`misc`
- :ref:`soc_gsoc21`

.. include:: improve-docs.rst
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have this rst file yet.

@TG1999
Copy link
Copy Markdown
Contributor

TG1999 commented May 1, 2026

@DennisClark we have some errors while building docs, we need a toctree. Also there are few files where we need to add a title. Thanks!

@TG1999
Copy link
Copy Markdown
Contributor

TG1999 commented May 1, 2026

@DennisClark you can add a toctree like this

.. toctree::
   :maxdepth: 2
   :caption: Getting Started

   introduction
   installation
   user-interface
   api
   api-admin
   api_v3_usage

.. toctree::
   :maxdepth: 2
   :caption: Tutorials

   tutorial_add_importer_pipeline
   tutorial_add_improver_pipeline

.. toctree::
   :maxdepth: 2
   :caption: Reference

   reference_importer_overview
   reference_improver_overview
   reference_framework_overview
   reference_model_overview
   command-line-interface
   importers_link
   PIPELINES-AVID
   SOURCES

.. toctree::
   :maxdepth: 1
   :caption: Misc

   faq
   misc
   soc_gsoc21

And add title in file which are missing title like this

PIPELINES AVID
==============

Also verify errors with make doc command. Let me know if you want to me take a look on any particular thing. Thanks!

@DennisClark
Copy link
Copy Markdown
Member Author

@TG1999 looks like you've got the solution all figured out! Please go ahead with the change if you have time, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

2 participants