Comments (5)
Hello,
can you provide small example to reproduce?
from docdash.
My usage is like this:
/**@module 加法 */
/**
- @function add
- @param {number} a - 第一个参数
- @param {number} b - 第二个参数
- @returns {number} - 返回两个参数的和
*/
function add(a, b) {
return a + b;
}
In the final generated document page, click the add() method under the document directory "加法", and the page prompts "Your file couldn't be accessed"
from docdash.
Hello,
thank you, I could track it to JSDoc place here:
https://github.com/jsdoc/jsdoc/blob/main/packages/jsdoc-template-legacy/lib/templateHelper.js#L351
So, most probably, it is not a template problem but JSDoc problem in overall.
Have you experienced the same with the default JSDoc template?
from docdash.
So for example, as far as I see
here https://github.com/clenemt/docdash/blob/master/publish.js#L386
we feed method.longname as module:加法~add
and get result as <a href="module-%2525E5%25258A%2525A0%2525E6%2525B3%252595.html#~add">add</a>
which is already double encoded
from docdash.
Thanks for your reply, but I don't have same problem when I use other templates. And after I fix it like this, the above problem will not occur again. #119,
from docdash.
Related Issues (20)
- Allow creation of minor and major documents.
- Fix CSS to correctly display <pre><code>...</code></pre>?
- The effect of '@returns' is no beautiful. Can anyone fix it? HOT 1
- JSDoc 4 support HOT 2
- instance member in menu HOT 6
- Side nav anchor links not working HOT 4
- Kinda Sorted list of method names. HOT 1
- About the static members of the error
- configure the theme HOT 7
- Is there a sample. vue file annotation? HOT 2
- markdown table shows up twice
- @example code background color
- Add your language
- (wish) Add links from examples to online code editor
- (wish) Collapse section HOT 3
- Support usage of {@link url text} in @listens, et al HOT 1
- Use of @hideconstructor with virtual classes creates an empty page HOT 1
- Add class to <h5>Parameters</h5> and other h5 elements HOT 2
- Call for volunteers / Onboard new members to manage PRs log HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docdash.