Skip to content

Commit

Permalink
feat: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangdingding committed Nov 10, 2022
1 parent fea55ae commit f37678a
Show file tree
Hide file tree
Showing 24 changed files with 46 additions and 46 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ee-metric-help-doc",
"version": "1.4.2",
"version": "1.4.3",
"description": "parse markdown to html",
"exports": "./src/index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions public/docs/en/sample.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"><title>Accumulated dev equivalent</title><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.6.0/build/styles/github.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/github-markdown-css@5.1.0/github-markdown-light.css"><style>.markdown-body {
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"><title>Accumulated dev equivalent</title><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.6.0/build/styles/github.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/github-markdown-css@5.1.0/github-markdown-light.css"><style>.markdown-body {
box-sizing: border-box;
min-width: 200px;
max-width: 980px;
Expand All @@ -10,5 +10,5 @@
.markdown-body {
padding: 15px;
}
}</style></head><body><div id="root" class="root-container"><div id="md" class="markdown-body"><h1>Accumulated dev equivalent</h1><p>Accumulated trend of dev equivalent.</p><h2>Introduction</h2><p>Blah blah...</p><div data-section="abstract"><p>The change in trend of accumulated dev equivalent growth is used to observe the change in overall {[@subject]} capacity.</p><div data-section="how-to-read-chart"><h3>How to read chart</h3><ul><li>The smooth growth of the trend chart indicates stable capacity.</li><li>If there is a steep {[@subject]} growth trend at a certain time, pay attention to whether there is a backlog of commits, project rushes, etc., and pay attention to the code quality at this stage.</li><li>If the {[@subject]} growth trend slows down at a certain time, you can focus on whether the demand schedule is reasonable and whether the tasks are stalled in the context of the project phase.</li></ul></div></div><h2>Rule</h2><p>Blah blah...</p><h2>Reference</h2><p>Blah blah...</p></div></div><script type="module">import hljs from 'https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.6.0/build/es/highlight.min.js';
}</style></head><body><div id="root" class="root-container" data-lang="en"><div id="md" class="markdown-body"><h1>Accumulated dev equivalent</h1><p>Accumulated trend of dev equivalent.</p><h2>Introduction</h2><p>Blah blah...</p><div data-section="abstract"><p>The change in trend of accumulated dev equivalent growth is used to observe the change in overall {[@subject]} capacity.</p><div data-section="how-to-read-chart"><h3>How to read chart</h3><ul><li>The smooth growth of the trend chart indicates stable capacity.</li><li>If there is a steep {[@subject]} growth trend at a certain time, pay attention to whether there is a backlog of commits, project rushes, etc., and pay attention to the code quality at this stage.</li><li>If the {[@subject]} growth trend slows down at a certain time, you can focus on whether the demand schedule is reasonable and whether the tasks are stalled in the context of the project phase.</li></ul></div></div><h2>Rule</h2><p>Blah blah...</p><h2>Reference</h2><p>Blah blah...</p></div></div><script type="module">import hljs from 'https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.6.0/build/es/highlight.min.js';
hljs.highlightAll();</script></body></html>
4 changes: 2 additions & 2 deletions public/docs/en/test.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"><title>Manchester by the Sea</title><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.6.0/build/styles/github.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/github-markdown-css@5.1.0/github-markdown-light.css"><style>.markdown-body {
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"><title>Manchester by the Sea</title><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.6.0/build/styles/github.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/github-markdown-css@5.1.0/github-markdown-light.css"><style>.markdown-body {
box-sizing: border-box;
min-width: 200px;
max-width: 980px;
Expand All @@ -10,5 +10,5 @@
.markdown-body {
padding: 15px;
}
}</style></head><body><div id="root" class="root-container"><div id="md" class="markdown-body"><h1>Manchester by the Sea</h1><p><img alt="Theatrical release poster" src="https://lovdin.com/images/manchester-by-the-sea-a9954c1.jpg"></p><p><a href="https://www.imdb.com/title/tt4034228/"><strong>Manchester by the Sea</strong></a> is a 2016 American psychological drama film written and directed by Kenneth Lonergan. Centered around the themes of depression, guilt, grief, responsibility, dysfunctional families, and post-traumatic stress disorder, the plot follows a depressed and grief-stricken man who was accidentally responsible for the deaths of his three children and must care for his teenage nephew after the death of his brother.</p><p data-keywords="Casey_Affleck Lucas_Hedges Kyle_Chandler Michelle_Williams">The film stars <em>Casey Affleck</em>, <em>Lucas Hedges</em>, <em>Kyle Chandler</em>, <em>Michelle Williams</em> and more.</p><div data-section="main"><h2>Cast</h2><div data-section="cast"><ul><li>Casey Affleck as Lee Chandler</li><li>Michelle Williams as Randi</li><li>Lucas Hedges as Patrick Chandler</li><li>Kyle Chandler as Joe Chandler</li><li>C. J. Wilson as George</li><li>Gretchen Mol as Elise</li></ul></div><div data-section="awards"><h2>Awards</h2><p>After premiering at the Sundance Film Festival on January 23, 2016, the film was quickly distributed by Amazon Studios and is scheduled for a limited release in the U.S. on November 18, 2016, with a wide release scheduled for December 16. With a production budget of $8.5 million, the film grossed over $62 million worldwide.</p><p>The film was released to critical acclaim and won numerous awards. The film was named by many critics as one of the best films of 2016, winning Best Actor and Best Original Screenplay at the 89th Academy Awards, Best Actor at the 74th Golden Globe Awards, and Best Actor and Best Original Screenplay at the 70th BAFTA Awards.</p></div><h2>Themes</h2><p id="themes">The film is a treatment of profound grief from which it is difficult or impossible to recover.</p></div><h2 id="reference">Reference</h2><ul><li><a href="https://movie.douban.com/subject/25980443/">Douban</a></li><li><a href="https://www.imdb.com/title/tt4034228/">IMDB</a></li><li><a href="https://en.wikipedia.org/wiki/Manchester_by_the_Sea_(film)">Wikipedia</a></li></ul></div></div><script type="module">import hljs from 'https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.6.0/build/es/highlight.min.js';
}</style></head><body><div id="root" class="root-container" data-lang="en"><div id="md" class="markdown-body"><h1>Manchester by the Sea</h1><p><img alt="Theatrical release poster" src="https://lovdin.com/images/manchester-by-the-sea-a9954c1.jpg"></p><p><a href="https://www.imdb.com/title/tt4034228/"><strong>Manchester by the Sea</strong></a> is a 2016 American psychological drama film written and directed by Kenneth Lonergan. Centered around the themes of depression, guilt, grief, responsibility, dysfunctional families, and post-traumatic stress disorder, the plot follows a depressed and grief-stricken man who was accidentally responsible for the deaths of his three children and must care for his teenage nephew after the death of his brother.</p><p data-keywords="Casey_Affleck Lucas_Hedges Kyle_Chandler Michelle_Williams">The film stars <em>Casey Affleck</em>, <em>Lucas Hedges</em>, <em>Kyle Chandler</em>, <em>Michelle Williams</em> and more.</p><div data-section="main"><h2>Cast</h2><div data-section="cast"><ul><li>Casey Affleck as Lee Chandler</li><li>Michelle Williams as Randi</li><li>Lucas Hedges as Patrick Chandler</li><li>Kyle Chandler as Joe Chandler</li><li>C. J. Wilson as George</li><li>Gretchen Mol as Elise</li></ul></div><div data-section="awards"><h2>Awards</h2><p>After premiering at the Sundance Film Festival on January 23, 2016, the film was quickly distributed by Amazon Studios and is scheduled for a limited release in the U.S. on November 18, 2016, with a wide release scheduled for December 16. With a production budget of $8.5 million, the film grossed over $62 million worldwide.</p><p>The film was released to critical acclaim and won numerous awards. The film was named by many critics as one of the best films of 2016, winning Best Actor and Best Original Screenplay at the 89th Academy Awards, Best Actor at the 74th Golden Globe Awards, and Best Actor and Best Original Screenplay at the 70th BAFTA Awards.</p></div><h2>Themes</h2><p id="themes">The film is a treatment of profound grief from which it is difficult or impossible to recover.</p></div><h2 id="reference">Reference</h2><ul><li><a href="https://movie.douban.com/subject/25980443/">Douban</a></li><li><a href="https://www.imdb.com/title/tt4034228/">IMDB</a></li><li><a href="https://en.wikipedia.org/wiki/Manchester_by_the_Sea_(film)">Wikipedia</a></li></ul></div></div><script type="module">import hljs from 'https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.6.0/build/es/highlight.min.js';
hljs.highlightAll();</script></body></html>
4 changes: 2 additions & 2 deletions public/docs/en/test@3.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"><title>Manchester by the Sea V3</title><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.6.0/build/styles/github.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/github-markdown-css@5.1.0/github-markdown-light.css"><style>.markdown-body {
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"><title>Manchester by the Sea V3</title><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.6.0/build/styles/github.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/github-markdown-css@5.1.0/github-markdown-light.css"><style>.markdown-body {
box-sizing: border-box;
min-width: 200px;
max-width: 980px;
Expand All @@ -10,5 +10,5 @@
.markdown-body {
padding: 15px;
}
}</style></head><body><div id="root" class="root-container"><div id="md" class="markdown-body"><h1>Manchester by the Sea V3</h1><p><img alt="Theatrical release poster" src="https://lovdin.com/images/manchester-by-the-sea-a9954c1.jpg"></p><p><a href="https://www.imdb.com/title/tt4034228/"><strong>Manchester by the Sea V3</strong></a> is a 2016 American psychological drama film written and directed by Kenneth Lonergan. Centered around the themes of depression, guilt, grief, responsibility, dysfunctional families, and post-traumatic stress disorder, the plot follows a depressed and grief-stricken man who was accidentally responsible for the deaths of his three children and must care for his teenage nephew after the death of his brother.</p><p data-keywords="Casey_Affleck Lucas_Hedges Kyle_Chandler Michelle_Williams">The film stars <em>Casey Affleck</em>, <em>Lucas Hedges</em>, <em>Kyle Chandler</em>, <em>Michelle Williams</em> and more.</p><div data-section="main"><h2>Cast</h2><div data-section="cast"><ul><li>Casey Affleck as Lee Chandler</li><li>Michelle Williams as Randi</li><li>Lucas Hedges as Patrick Chandler</li><li>Kyle Chandler as Joe Chandler</li><li>C. J. Wilson as George</li><li>Gretchen Mol as Elise</li></ul></div><div data-section="awards"><h2>Awards</h2><p>After premiering at the Sundance Film Festival on January 23, 2016, the film was quickly distributed by Amazon Studios and is scheduled for a limited release in the U.S. on November 18, 2016, with a wide release scheduled for December 16. With a production budget of $8.5 million, the film grossed over $62 million worldwide.</p><p>The film was released to critical acclaim and won numerous awards. The film was named by many critics as one of the best films of 2016, winning Best Actor and Best Original Screenplay at the 89th Academy Awards, Best Actor at the 74th Golden Globe Awards, and Best Actor and Best Original Screenplay at the 70th BAFTA Awards.</p></div><h2>Themes</h2><p id="themes">The film is a treatment of profound grief from which it is difficult or impossible to recover.</p></div><h2 id="reference">Reference</h2><ul><li><a href="https://movie.douban.com/subject/25980443/">Douban</a></li><li><a href="https://www.imdb.com/title/tt4034228/">IMDB</a></li><li><a href="https://en.wikipedia.org/wiki/Manchester_by_the_Sea_(film)">Wikipedia</a></li></ul></div></div><script type="module">import hljs from 'https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.6.0/build/es/highlight.min.js';
}</style></head><body><div id="root" class="root-container" data-lang="en" data-version="3"><div id="md" class="markdown-body"><h1>Manchester by the Sea V3</h1><p><img alt="Theatrical release poster" src="https://lovdin.com/images/manchester-by-the-sea-a9954c1.jpg"></p><p><a href="https://www.imdb.com/title/tt4034228/"><strong>Manchester by the Sea V3</strong></a> is a 2016 American psychological drama film written and directed by Kenneth Lonergan. Centered around the themes of depression, guilt, grief, responsibility, dysfunctional families, and post-traumatic stress disorder, the plot follows a depressed and grief-stricken man who was accidentally responsible for the deaths of his three children and must care for his teenage nephew after the death of his brother.</p><p data-keywords="Casey_Affleck Lucas_Hedges Kyle_Chandler Michelle_Williams">The film stars <em>Casey Affleck</em>, <em>Lucas Hedges</em>, <em>Kyle Chandler</em>, <em>Michelle Williams</em> and more.</p><div data-section="main"><h2>Cast</h2><div data-section="cast"><ul><li>Casey Affleck as Lee Chandler</li><li>Michelle Williams as Randi</li><li>Lucas Hedges as Patrick Chandler</li><li>Kyle Chandler as Joe Chandler</li><li>C. J. Wilson as George</li><li>Gretchen Mol as Elise</li></ul></div><div data-section="awards"><h2>Awards</h2><p>After premiering at the Sundance Film Festival on January 23, 2016, the film was quickly distributed by Amazon Studios and is scheduled for a limited release in the U.S. on November 18, 2016, with a wide release scheduled for December 16. With a production budget of $8.5 million, the film grossed over $62 million worldwide.</p><p>The film was released to critical acclaim and won numerous awards. The film was named by many critics as one of the best films of 2016, winning Best Actor and Best Original Screenplay at the 89th Academy Awards, Best Actor at the 74th Golden Globe Awards, and Best Actor and Best Original Screenplay at the 70th BAFTA Awards.</p></div><h2>Themes</h2><p id="themes">The film is a treatment of profound grief from which it is difficult or impossible to recover.</p></div><h2 id="reference">Reference</h2><ul><li><a href="https://movie.douban.com/subject/25980443/">Douban</a></li><li><a href="https://www.imdb.com/title/tt4034228/">IMDB</a></li><li><a href="https://en.wikipedia.org/wiki/Manchester_by_the_Sea_(film)">Wikipedia</a></li></ul></div></div><script type="module">import hljs from 'https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.6.0/build/es/highlight.min.js';
hljs.highlightAll();</script></body></html>
Loading

0 comments on commit f37678a

Please sign in to comment.