【问题标题】:Menu in asciidocasciidoc 中的菜单
【发布时间】:2019-09-23 04:32:07
【问题描述】:

我一直在寻找一种机制来获取左侧栏中的菜单,就像在 asciidoc 网站 http://asciidoc.org/index.html 中一样。

当我使用概述和示例http://asciidoc.org/index.html#_overview_and_examples 中给出的任何命令编译 asciidoc 页面源代码http://asciidoc.org/index.txt 时,菜单不会自动生成。 asciidoc 备忘单也没有解释任何此类机制。当然,我可能会遗漏一些东西。

谁能给我指出一个资源来解释获取此类菜单的正确程序?

【问题讨论】:

    标签: asciidoc asciidoctor


    【解决方案1】:

    看看:

    似乎您需要的不仅仅是 index.txt 文件来获得整个网站结构。

    【讨论】:

    • 很遗憾,layout1.css 和layout2.css 这两个文件没有引出任何菜单。有一个 toc2.css 在左侧为菜单留出了一些空间,但这也不会产生菜单。
    • 运行./build-website.sh 脚本然后加载index.html
    • 确实,非常感谢。这仅适用于完整的网站文件和嵌套目录。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多