mirror of
https://github.com/twirl/The-API-Book.git
synced 2025-04-23 11:07:53 +02:00
Switched to Google Fonts API v2
This commit is contained in:
parent
9af535777a
commit
57b5e35e48
2
build.js
2
build.js
@ -14,7 +14,7 @@ const html = `<html><head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Сергей Константинов. API</title>
|
||||
<meta name="author" content="Сергей Константинов"/>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Serif&family=PT+Sans&family=Inconsolata"/>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=PT+Serif&family=PT+Sans&family=Inconsolata"/>
|
||||
<style>${fs.readFileSync('src/style.css', 'utf-8')}</style>
|
||||
</head><body>
|
||||
<article>${content}</article>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<meta charset="utf-8"/>
|
||||
<title>Сергей Константинов. API</title>
|
||||
<meta name="author" content="Сергей Константинов"/>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Serif&family=PT+Sans&family=Inconsolata"/>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=PT+Serif&family=PT+Sans&family=Inconsolata"/>
|
||||
<style>body {
|
||||
font-family: 'PT Serif';
|
||||
font-size: 14pt;
|
||||
|
BIN
docs/API.ru.pdf
BIN
docs/API.ru.pdf
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user