Commit Graph

97 Commits

Author SHA1 Message Date
Ivan Blinkov
9e776e6907
[docs] improve redirects destination 2020-07-06 12:56:30 +03:00
Ivan Blinkov
9a26d48ad0
Basic blog similar to docs (#11609)
* Basic blog similar to docs

* rename post

* no post content in post_meta

* update readme and template

* more "en" content

* complete "en" content

* build blog redirects

* redirects for migration

* link sitemaps

* update po

* add "ru" content

* ru redirects

* remove old domain mentions

* adjust styles

* content improvements

* +1 alt

* use main images from CDN

* use re-hosted in-content images

* extra vertical margin around embedded youtube

* minor improvements

* adjust post page

* adjust html meta

* adjust post page

* improve blog rendering
2020-06-16 09:31:00 +03:00
Ivan Blinkov
eccd8d61dd
Update build.py 2020-06-15 10:13:29 +03:00
Ivan Blinkov
e0668f48e1
[docs] fix sitemap (#11113) 2020-05-21 22:34:50 +03:00
Ivan Blinkov
8771402cb5
[docs] faster local/debug build (#10840) 2020-05-12 17:09:36 +03:00
Ivan Blinkov
21d8b6288d
[docs] generate AMP versions for docs articles (#10732)
* Refactoring in preparation for AMP support

* infrastructure for AMP validation

* Add Metrika counter on AMP page + adjust layout

* more content fixes

* improve amp layout

* improve navigation

* Move converting admonitions to generation time

* strict amp test check

* Batch AMP validation

* Add date published/modified to docs articles and their ld+json meta

* few more content fixes

* improve ld+json meta

* adjust margins

* skip published/modified for stable release docs

* adapt single page mode

* update po

* skip published/modified for single page docs

* update po

* adjust layout

* adjust layout
2020-05-08 11:04:09 +03:00
Ivan Blinkov
71027e007d
[docs] tests for inline css/js (#10699) 2020-05-06 16:28:02 +03:00
Ivan Blinkov
0dbd444fdb
introduce build.py --skip-multi-page and --test-only options (#10696) 2020-05-06 15:54:33 +03:00
Ivan Blinkov
b497f99e34
Update build.py 2020-05-03 20:06:31 +03:00
Ivan Blinkov
5d7fd78247
[docs] fix redirects generation for folders (#10633) 2020-05-03 18:40:56 +03:00
Ivan Blinkov
84883197d6
[docs] add hreflang links (#10597)
* Introduce hreflang links

* update po

* provide absolute urls in hreflang + add x-default link
2020-04-30 18:49:48 +03:00
Ivan Blinkov
8201693efe
Remove remnants of old MkDocs theme 2020-04-24 19:50:13 +03:00
Ivan Blinkov
388bcffec9
Rearrange includes at docs+changelog and move description templates (#10472)
* temp commit

* rearrange includes
2020-04-24 12:50:22 +03:00
Ivan Blinkov
b8645c5a7c
Adjust benchmark page caching + og:url/og:type/rel=canonical (#10439) 2020-04-22 15:40:30 +03:00
Ivan Blinkov
ab150f96a1
[website] get rid of remnants of old markup (from benchmark pages) (#10412)
* rm outdated nginx config

* get rid of most outdated markup of benchmark.html

* reformat js

* get rid of ru comments + wrap benchmark.js in a function call

* split benchmark results into separate files

* adjust links to benchmarks

* refactor hardware benchmarks as well

* adjust links

* fix filtering for hardware

* additional markup tuning
2020-04-22 14:30:33 +03:00
Ivan Blinkov
73f978cb0f
Update build.py 2020-04-20 20:37:57 +03:00
Ivan Blinkov
80873d79e3
[docs] tuning of <details> tag, search menu colours and hidden pages (#10313)
* improve hidden page title

* adjust docsearch menu colors

* enable pymdownx.details

* some <details> styling

* remove useless example
2020-04-16 21:03:52 +03:00
Ivan Blinkov
9b85ca0f3e
Update build.py 2020-04-16 12:09:04 +03:00
Ivan Blinkov
98769778f4
Turkish docs translation stub (#10282) 2020-04-15 16:56:49 +03:00
Ivan Blinkov
76a8efbd80
Indicate LTS releases in docs version selector (#10281) 2020-04-15 16:35:16 +03:00
Ivan Blinkov
1b6b9e77fe
Return redirects for all languages 2020-04-10 17:58:34 +03:00
Ivan Blinkov
770bc149df
Extra mark for redirect template page 2020-04-10 17:54:20 +03:00
Ivan Blinkov
7177bc4cbf
fix to_url with version_prefix 2020-04-10 17:40:55 +03:00
Ivan Blinkov
9326016e5f
Put single-page content into a separate js file (#10160) 2020-04-09 23:50:39 +03:00
Ivan Blinkov
f6f4fb0000
Documentation issues fixes (#10112) 2020-04-08 12:09:59 +03:00
Ivan Blinkov
765dd7c495
Update some docs translations (#10044) 2020-04-04 12:15:31 +03:00
Ivan Blinkov
b66c26d833
Get rid of toc_en.yml (#10023) 2020-04-03 16:23:32 +03:00
Ivan Blinkov
f60337a765
[docs] alternative approach to pdf generation (#9982) 2020-04-01 12:45:48 +03:00
Ivan Blinkov
2d640a9bf8
Update build.py 2020-03-31 18:56:49 +03:00
Ivan Blinkov
9477864cd6
Update build.py 2020-03-31 18:37:48 +03:00
Ivan Blinkov
ad1ab0a8f2
Adjust wkhtmltopdf args 2020-03-31 17:21:24 +03:00
Ivan Blinkov
487c088ab7
Temporary make wkhtmltopdf more verbose 2020-03-31 15:20:03 +03:00
Ivan Blinkov
5b414ff509
fix mistype 2020-03-31 13:56:38 +03:00
Ivan Blinkov
3fbc62d23e
[docs] try more aggressive httpd shutdown 2020-03-31 13:16:18 +03:00
Ivan Blinkov
747bc14514
Update build.py 2020-03-31 11:01:56 +03:00
Ivan Blinkov
23c34f8b5e
fix mistype 2020-03-31 10:18:18 +03:00
Ivan Blinkov
1a7cdfb18b
Try to get rid from httpd context manager (#9952)
* Try to get rid from httpd context manager

* Update build.py
2020-03-31 10:01:12 +03:00
Ivan Blinkov
2f40335390
Extra logging at build.py + rearrange ifs 2020-03-30 22:33:33 +03:00
Ivan Blinkov
61cf32f8ac
Update build.py 2020-03-30 16:07:08 +03:00
Ivan Blinkov
5ad4e0a7c8
Add try-finally block 2020-03-30 16:05:47 +03:00
Ivan Blinkov
197033dceb
[docs] draft of fr version (#9942) 2020-03-30 15:48:55 +03:00
Ivan Blinkov
700c27a99d
Refactor docs print/pdf (#9934) 2020-03-30 14:39:26 +03:00
Ivan Blinkov
cc60f0edaf
Custom mkdocs theme (#9874) 2020-03-30 11:25:29 +03:00
Ivan Blinkov
b8dc2a80c1
Update build.py 2020-03-22 18:20:11 +03:00
Ivan Blinkov
4cafab6fda
More docs build logging 2020-03-22 17:48:36 +03:00
Ivan Blinkov
c2a73982a8
Keep some wkhtmltopdf logging 2020-03-22 17:43:04 +03:00
Ivan Blinkov
dfa01a6358
[docs] extra logging and minor refactoring (#9805) 2020-03-22 15:12:53 +03:00
Ivan Blinkov
d8eea84b1d
Do not do useless work on docs for old releases 2020-03-22 14:22:52 +03:00
Ivan Blinkov
9bfad99f0d
fix mistype 2020-03-21 13:50:48 +03:00
Ivan Blinkov
f315e5079b
More complete "es" translation (#9791)
* replace exit with assert in test_single_page

* improve save_raw_single_page docs option

* More grammar fixes

* "Built from" link in new tab

* fix mistype

* Example of include in docs

* add anchor to meeting form

* Draft of translation helper

* WIP on translation helper

* Replace some fa docs content with machine translation

* add normalize-en-markdown.sh

* normalize some en markdown

* normalize some en markdown

* admonition support

* normalize

* normalize

* normalize

* support wide tables

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* normalize

* lightly edited machine translation of introdpection.md

* lightly edited machhine translation of lazy.md

* WIP on translation utils

* Normalize ru docs

* Normalize other languages

* some fixes

* WIP on normalize/translate tools

* add requirements.txt

* [experimental] add es docs language as machine translated draft

* remove duplicate script

* Back to wider tab-stop (narrow renders not so well)

* Links to nowhere check at least for English

* use f string

* More complete es translation
2020-03-21 12:17:06 +03:00