Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.

Commit aec971f

Browse files
committed
Rename docs files, removing the coffee sufix
1 parent 5274136 commit aec971f

8 files changed

Lines changed: 13 additions & 13 deletions

File tree

File renamed without changes.

docs/generate.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -316,12 +316,12 @@ const renderTitlePage = function(doc) {
316316
const doc = new PDFDocument;
317317
doc.pipe(fs.createWriteStream('guide.pdf'));
318318
renderTitlePage(doc);
319-
render(doc, 'getting_started.coffee.md');
320-
render(doc, 'vector.coffee.md');
321-
render(doc, 'text.coffee.md');
322-
render(doc, 'images.coffee.md');
323-
render(doc, 'outline.coffee.md');
324-
render(doc, 'annotations.coffee.md');
319+
render(doc, 'getting_started.md');
320+
render(doc, 'vector.md');
321+
render(doc, 'text.md');
322+
render(doc, 'images.md');
323+
render(doc, 'outline.md');
324+
render(doc, 'annotations.md');
325325
return doc.end();
326326
})();
327327

docs/generate_website.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ if (!fs.existsSync('img')) {
1313

1414
const files = [
1515
'../README.md',
16-
'getting_started.coffee.md',
17-
'vector.coffee.md',
18-
'text.coffee.md',
19-
'images.coffee.md',
20-
'annotations.coffee.md'
16+
'getting_started.md',
17+
'vector.md',
18+
'text.md',
19+
'images.md',
20+
'annotations.md'
2121
];
2222

2323
// shared lorem ipsum text so we don't need to copy it into every example
@@ -103,8 +103,8 @@ for (let file of Array.from(files)) {
103103
generateImages(tree);
104104

105105
file = file
106-
.replace(/\.coffee\.md$/, '')
107-
.replace(/README\.md/, 'index');
106+
.replace(/README\.md/, 'index')
107+
.replace(/\.md$/, '');
108108

109109
pages.push({
110110
file,
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)