繁体   English   中英

Sphinx + HTML 帮助研讨会:每个部分的单独页面

[英]Sphinx + HTML Help Workshop : separate page for each section

使用 Sphinx 构建 *.rst 文件后,我正在使用 HTML Help Workshop 创建一个 CHM 文件。

到目前为止我的 index.rst 文件:

.. toctree::
   :maxdepth: 2

   _static/presentation_designer/feedback
   _static/presentation_designer/test

我有两个 *.rst 文件,它们位于“presentation_designer”文件夹下。 每个feedback.rst 和test.rst 文件在CHM 文件中都有自己单独的页面。

反馈。

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**Presentation Designer**
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
**Leave Feedback**
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

Please feel free to leave feedback.

测试.rst

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**Presentation Designer**
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
**test**
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

Please test and click ‘submit’.

但是我得到了附件中显示的结果。

如何将它们(测试和反馈页面)放在“演示设计器”下?

部分问题

您知道,CHM 导航窗格中的目录 (TOC) 源自重组的文本文件,通常取决于标题、副标题和副标题。

请查看以下屏幕截图(导航窗格)以满足您的特殊要求和以下源文件。 我使用FAR HTML编译的结果 CHM 但使用 Microsoft 的 HTML Help Workshop 也适用于此。

带有导航窗格和内容的帮助查看器。

索引.rst:

Welcome - CHM Sphinx Demo
=========================

Contents:

.. toctree::
   :maxdepth: 2

   first-steps/overview
   _static/presentation-designer/_presentation-designer

概述.rst:

********
Overview
********

About FAR HTML
##############
... some text

Features
########
... some text

Help Authoring:
***************
... some text

_presentation-designer.rst:

Presentation Designer
=====================

.. toctree::

   coaching
   feedback

教练.rst:

.. toctree:: :maxdepth: 1

Coaching conversations
######################

Feedback should not be a one-way street.

反馈.rst:

.. toctree::
   :maxdepth: 1

Real-time Feedback
##################

Feedback happens less than it should and often comes too late.

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM