1
0
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:
Helmut K. C. Tessarek 2020-01-27 19:06:54 -05:00
parent fca9b57af5
commit f90f688299
No known key found for this signature in database
GPG Key ID: BE0985349D44DD00
2 changed files with 4 additions and 4 deletions

View File

@ -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)' } ],

View File

@ -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 &quot;AS IS&quot;, 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>