Git Product home page Git Product logo

doxmate's Issues

执行命令的时候直接报错了

PS E:\doxmate> doxmate build
{ Error: spawn D:\nodejs\node_modules\doxmate\bin\doxmate-build ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:201:19)
at onErrorNT (internal/child_process.js:379:16)
at process._tickCallback (internal/process/next_tick.js:114:19)
at Function.Module.runMain (module.js:692:11)
at startup (bootstrap_node.js:194:16)
at bootstrap_node.js:666:3
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn D:\nodejs\node_modules\doxmate\bin\doxmate-build',
path: 'D:\nodejs\node_modules\doxmate\bin\doxmate-build',
spawnargs: [],
cmd: 'D:\nodejs\node_modules\doxmate\bin\doxmate-build' }
现在解决了, 提了pull

API Docs导航栏问题

1

如上图,左边导航栏A应该设置成浮动的,否则当拖动滚动条后,这个导航栏就看不见了,不便于阅读。

同时API索引B应该放到左边导航栏中

doxmate error

你好,我按照官方的操作测试了一下,为何显示错误?
系统为64位 win7
image
谢谢!

Arguments to path.resolve must be strings

frank$ doxmate -i ./doxmate/

path.js:313
throw new TypeError('Arguments to path.resolve must be strings');
^
TypeError: Arguments to path.resolve must be strings
at Object.exports.resolve (path.js:313:15)
at Object. (/usr/local/lib/node_modules/doxmate/bin/doxmate:38:25)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:901:3

不支持PHP吗?

* git:(master) ✗ cd Application
➜ Application git:(master) ✗ doxmate build
{ [Error: Command failed:
module.js:340
throw err;
^
Error: Cannot find module '/Applications/XAMPP/xamppfiles/htdocs/
**/Application/package.json'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.exports.process (/usr/local/lib/node_modules/doxmate/lib/doxmate.js:164:13)
at Object. (/usr/local/lib/node_modules/doxmate/bin/doxmate-build:36:9)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
] killed: false, code: 8, signal: null }

左边子导航功能失效

1.doxmate build (3种模版下)
2.左边子导航功能失效

内容 h1 h2 等标签 id 无法正确输出

如何写注释来说明一个Object对象应该包含的属性

注释文本:

/**
 * 创建日志记录器
 *
 * @param {String} name 日志记录器名称
 * @param {Object} options
 *   - {String} path 日志主目录,默认为./log
 *   - {Number} interval 保存周期,默认为2000ms
 *   - {String} level 等级,fatal > error > warn > info > debug,默认为debug
 *   - {Boolean} output 是否在控制台输出,默认为true
 * @api public
 */

输出的页面显示如下:

1

这样很明显是影响阅读的。建议对于未知的注释类型,可以把它隐藏起来(起码比显示undefined强),或者有神马好的注释写法来说明上面的options参数?

package.json文件中没有设置keywords时出错

出错信息如下:

undefined:24
  throw err;
        ^
ReferenceError: F:\github\doxmate\templates\index.html:6
    4|     <div class="span3 bs-docs-sidebar">
    5|       <% include sidebar %>
 >> 6|     </div>
    7|     <div class="span9">
    8|       <% for (var key in apis) {
    9|         var api = apis[key];

keywords is not defined
    at buf.push..
<div class="container content">
  <div class="row">
    <div class="span3 bs-docs-sidebar">
      .buf (eval at <anonymous> (F:\github\doxmate\node_modules\ejs\lib\ejs.js:234:12))
    at eval (eval at <anonymous> (F:\github\doxmate\node_modules\ejs\lib\ejs.js:234:12))
    at exports.compile (F:\github\doxmate\node_modules\ejs\lib\ejs.js:239:15)
    at Object.exports.render (F:\github\doxmate\node_modules\ejs\lib\ejs.js:277:13)
    at Object.exports.process (F:\github\doxmate\lib\doxmate.js:162:57)
    at Object.<anonymous> (F:\github\doxmate\bin\doxmate:47:9)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)

生成文档的界面问题

1.首页在Chrome下显示位置有重叠:
1

2.没有指定页面编码,浏览器默认为GBK时显示乱码:
2

3.顶栏后面那两个链接是原来的doc目录里有的Markdown文件,但是没有正确转为HTML:
3
4
5

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.