Giter Site home page Giter Site logo

Comments (4)

sashimi-yzh avatar sashimi-yzh commented on August 14, 2024

你好, 这些html是gitbook自动生成的, 你知道应该如何修改html才能修复这两个问题吗? @nuaalixu

from ics-pa-gitbook.

nuaalixu avatar nuaalixu commented on August 14, 2024

你好, 这些html是gitbook自动生成的, 你知道应该如何修改html才能修复这两个问题吗? @nuaalixu

你好。
1.首先第一个本地跳转的问题,我将gitbook/theme.js中的字段

 if(m)for(n.handler&&

替换成

if(false)for(n.handler&&

注意我没有测试是否对线上阅读有影响。
2.点击Introduction正确跳转到index.html文件的问题。我将每个*.html文件中的

        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    Introduction
            
                </a>

替换成

        <li class="chapter " data-level="1.1" data-path="index.html">
            
                <a href="index.html">
            
                    
                    Introduction
            
                </a>

from ics-pa-gitbook.

sashimi-yzh avatar sashimi-yzh commented on August 14, 2024

感谢指导! 我试了一下, 在线和离线应该都没问题了.

另外

for(false)for(n.handler&&

这里应该是

if(false)for(n.handler&&

from ics-pa-gitbook.

nuaalixu avatar nuaalixu commented on August 14, 2024

感谢指导! 我试了一下, 在线和离线应该都没问题了.

另外

for(false)for(n.handler&&

这里应该是

if(false)for(n.handler&&

不客气,是的。我打错字了。

from ics-pa-gitbook.

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.