Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 463483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T23:10:46+00:00 2026-05-12T23:10:46+00:00

How can you fix the Sphinx’s warning at the bottom? I am trying to

  • 0

How can you fix the Sphinx’s warning at the bottom?

I am trying to have my Python notes in Sphinx.
I have my notes in separate files at the same directory level as the index.rst.

I get the following warnings after building HTML

The warning

/home/heo/S_codes/trig_functions.rst:: WARNING: document isn't included in any toctree

in

The complete message when building

sudo sphinx-build -b html ./ _build/html
Running Sphinx v0.6.2
loading pickled environment... done
building [html]: targets for 0 source files that are out of date
updating environment: 1 added, 2 changed, 0 removed
reading sources... [100%] trig_functions
/home/heo/S_codes/databooklet.rst:1: (WARNING/2) malformed hyperlink target.
/home/heo/S_codes/index.rst:11: (ERROR/3) Error in "toctree" directive:
invalid option block.

.. toctree::
   :numbered:
   :glob:
   *
   databooklet.rst
   trig_functions.rst


/home/heo/S_codes/trig_functions.rst:11: (ERROR/3) Unexpected indentation.
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/heo/S_codes/databooklet.rst:: WARNING: document isn't included in any toctree
/home/heo/S_codes/trig_functions.rst:: WARNING: document isn't included in any toctree
done
preparing documents... done
writing output... [100%] trig_functions
writing additional files... genindex search
copying static files... done
dumping search index... done
dumping object inventory... done
build succeeded, 6 warnings.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T23:10:46+00:00Added an answer on May 12, 2026 at 11:10 pm

    Are you aware of Sphinx’s documentation? https://www.sphinx-doc.org

    Specifically, read about the toctree directive: https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-toctree

    You can have as many files as you want. Via toctree you can create a single document from many parts.


    Please actually read this: http://sphinx.pocoo.org/concepts.html#document-names

    Since the reST source files can have
    different extensions (some people like
    .txt, some like .rst – the extension
    can be configured with source_suffix)
    and different OSes have different path
    separators, Sphinx abstracts them: all
    “document names” are relative to the
    source directory, the extension is
    stripped, and path separators are
    converted to slashes. All values,
    parameters and suchlike referring to
    “documents” expect such a document
    name.

    Examples for document names are index,
    library/zipfile, or
    reference/datamodel/types. Note that
    there is no leading slash.

    Since you globbed with *, you do not need to list your files.

    If you want to list your files, please actually read and follow the above rules.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can someone explain to me how I can fix this problem. I have two
Does anyone have an idea how can I fix this vulnerability in Apache 2.2.4
I have a problem that I thought I knew how I can fix, but
Is there any way we can fix the footer to the bottom of the
I have simple html site. how I can fix the problem 'The requested URL
I have small repeater Below that keeps ending, How can fix so more stable
I can fix the below exception with a try-catch loop but I cannot understand
Can anyone explain the output of this program and how I can fix it?
Ok I want some opinions how I can fix this mess of a method!
I was wondering how one can fix an upper limit for the length of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.