mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-11 18:24:43 +02:00
fix the 'Improve this doc' link on the index (main) page
The 'improve this doc' link results in a 404 on the main page, because no filename is actually given for the index page.
This commit is contained in:
parent
fca9b57af5
commit
f90f688299
@ -561,7 +561,7 @@ function makeHomePageMd() {
|
||||
async function main() {
|
||||
tocMd();
|
||||
|
||||
renderMdToHtml(makeHomePageMd(), `${rootDir}/docs/index.html`, {});
|
||||
renderMdToHtml(makeHomePageMd(), `${rootDir}/docs/index.html`, { sourceMarkdownFile: 'README.md' });
|
||||
|
||||
const sources = [
|
||||
[ 'readme/changelog.md', 'docs/changelog/index.html', { title: 'Changelog (Desktop App)' } ],
|
||||
|
@ -5,11 +5,11 @@
|
||||
|
||||
!!! WARNING !!!
|
||||
|
||||
This file was auto-generated from and any manual change
|
||||
This file was auto-generated from README.md and any manual change
|
||||
made to it will be overwritten. To make a change to this file please modify
|
||||
the source Markdown file:
|
||||
|
||||
https://github.com/laurent22/joplin/blob/master/
|
||||
https://github.com/laurent22/joplin/blob/master/README.md
|
||||
|
||||
-->
|
||||
|
||||
@ -1127,7 +1127,7 @@ Details:
|
||||
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
|
||||
|
||||
<div class="bottom-links">
|
||||
<a href="https://github.com/laurent22/joplin/blob/master/">
|
||||
<a href="https://github.com/laurent22/joplin/blob/master/README.md">
|
||||
<i class="fa fa-github"></i> Improve this doc
|
||||
</a>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user