Coder Social home page Coder Social logo

下载语雀文档时出错 about elog HOT 4 CLOSED

BreakALegCml avatar BreakALegCml commented on June 1, 2024
下载语雀文档时出错

from elog.

Comments (4)

LetTTGACO avatar LetTTGACO commented on June 1, 2024 2

看起来是配置问题,贴一下 elog.config.js 中的deploy配置是怎么配置的

from elog.

BreakALegCml avatar BreakALegCml commented on June 1, 2024

Snipaste_2023-11-28_21-32-15

from elog.

LetTTGACO avatar LetTTGACO commented on June 1, 2024

deploy.local.filename目前取值为 title 或者 urlname,且只能为字符串。请首先检查此配置是否配置正确
从错误来看,文档的title或者urlname不是一个字符串,所以报错了。
如果不是配置文件中配置错误,而表示这俩属性被复写了,被覆盖的可能性有两个地方:

  1. 在语雀书写文档时,手动指定的 FrontMatter 中含有title 或者 urlname,这将会覆盖文档自动生成的title 或者 urlname,并且该值不是一个字符串
  2. deploy.local.formatExt中,手动处理文档的properties字段时,将这俩字段进行了覆盖,有可能覆盖为空,有可能覆盖为非字符串

from elog.

BreakALegCml avatar BreakALegCml commented on June 1, 2024

看起来是配置问题,贴一下 elog.config.js 中的deploy配置是怎么配置的

解决了,感谢。发现是自己的配置出了点问题!!

from elog.

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.