Commit Graph

103 Commits

Author SHA1 Message Date
Alain Hernandez
90f5abaa06 dark mode docs 2020-12-19 18:59:28 -05:00
Alain Hernandez
a404b5a34f Run dark mode script hack based on configuration parameter 2020-12-19 18:58:51 -05:00
Leonardo Cavaletti
a007681f72
Merge pull request #20 from safaorhan/master
Bump up chrome driver version
2020-12-15 11:10:23 +00:00
Ahmet Safa Orhan
707bc4cd81
Bump up chrome driver version
Bump up chrome driver version to match the latest stable google chrome
2020-12-15 08:11:35 +03:00
Leonardo Cavaletti
d9d8009be7
Merge pull request #18 from candu/master
Support for Notion inline "alias" links
2020-11-28 15:50:01 +00:00
Evan Savage
a3d22a24e8 Support for Notion inline "alias" links
These use an SVG icon, and (for now, at least) sometimes have the full
"https://www.notion.so" domain in the `href`.  Made a small CSS patch to
deal with the SVG icon getting too much height by default, and updated
the subpage detection to handle these `href` values.
2020-11-25 08:19:33 -05:00
Nijat Ismayilzada
dd2a4028f5 Added support for dark-themed notion pages (--dark-theme option) 2020-11-20 22:56:57 +00:00
Leonardo Cavaletti
16bb75dfd0
Merge pull request #16 from joonatanjak/patch-2
Fix subpage links in tables for Safari
2020-11-20 09:40:26 +00:00
Joonatan Jakobson
92473cdc45
Fix subpage links in tables for Safari
The `pointer-events: none;` style tag will make the link unclickable by some browsers (tested on iOS and MacOS Safari). This pull request adds a line of code, which will delete this tag.
2020-11-19 23:57:11 +02:00
Leonardo Cavaletti
44b1b6d22d
Merge pull request #15 from joonatanjak/patch-1
Fix subpage links in tables
2020-11-19 08:51:34 +00:00
Joonatan Jakobson
60e08a6c0a
Fix subpage links in tables
This makes the subpage links in tables not look like default HTML links.
2020-11-19 02:43:00 +02:00
Leonardo Cavaletti
58e776b423
Merge pull request #13 from dosoft/master
Set timeout as integer parameter
2020-10-27 20:19:41 +00:00
Leonardo Cavaletti
37af2da9ae
Merge pull request #14 from NoahSaso/noah-clean-file-ext
Clean up encoded query params from file extension
2020-10-27 20:19:34 +00:00
Noah Saso
67bdfe24c4 Clean up encoded query params from file extension 2020-10-26 15:38:13 -07:00
Oleg Danilov
4cdf3372ab Set timeout as integer parameter 2020-10-26 13:31:48 +03:00
Leonardo Cavaletti
160ea4ec29
Merge pull request #5 from NanoBjorn/docker-container
Docker support
2020-10-18 15:08:26 +01:00
Leonardo Cavaletti
b1705ed799 Revised table rows parsing method 2020-10-02 09:27:12 +01:00
Gleb Novikov
71891a7901 Added docker section to readme 2020-09-27 16:47:09 +03:00
Gleb Novikov
b7ce8d6714 Added Dockerfile, docker-compose and fixed init_chromedriver 2020-09-27 16:39:32 +03:00
Leonardo Cavaletti
c1329e050c CSS fixes for mobile layouts and database views 2020-08-15 17:59:41 +01:00
Leonardo Cavaletti
c8f14a6678 Added support for lazy loaded page elements, and --timeout argument 2020-08-15 16:09:27 +01:00
Leonardo Cavaletti
29bf4969e2 Added support for emoji spreadsheets 2020-08-15 13:29:47 +01:00
Leonardo Cavaletti
73c21cc607 Fixed wrong glob extension when using --clean-js 2020-05-27 10:16:26 +01:00
Leonardo Cavaletti
fce23497e9 Changed --clean-style into --clean-css, added --clean-js 2020-05-27 10:15:13 +01:00
Leonardo Cavaletti
7c0dfbc9b6 Updated README.md 2020-05-27 10:14:53 +01:00
Leonardo Cavaletti
bc9cce4298 Added --clean-style argument 2020-05-27 08:54:29 +01:00
Leonardo Cavaletti
7a8bad823a CSS fixes 2020-05-27 08:54:11 +01:00
Leonardo Cavaletti
ee9d60d7f0 Fixed typos and updated readme 2020-05-26 18:57:55 +01:00
Leonardo Cavaletti
752f6593b8 Fixed css for overflowing inline databases 2020-05-26 18:57:40 +01:00
Leonardo Cavaletti
cc0fbee7ce Updated example site settings 2020-05-25 19:32:34 +01:00
Leonardo Cavaletti
fd7dcfbd1b Adjusted css rules for custom fonts 2020-05-25 19:32:09 +01:00
Leonardo Cavaletti
75c3da2210 Updated README.md and example_site.toml 2020-05-24 20:06:55 +01:00
Leonardo Cavaletti
ef7e99fbb3 Added condition to wait on database items to load correctly
By waiting for all notion_scrollers to have children
2020-05-24 19:34:45 +01:00
Leonardo Cavaletti
1bf31f2d32 Improved waiting condition on opening toggle blocks
Now checks for the presence of "notion-unknown-block" blocks
2020-05-24 17:15:35 +01:00
Leonardo Cavaletti
7e5a11cb6a Set up poetry and black formatter 2020-05-24 17:13:48 +01:00
Leonardo Cavaletti
bd76bc3089 Tidied up project structure, improved table links parsing 2020-05-23 17:32:53 +01:00
Leonardo Cavaletti
4f507e4485 Add table row link capturing in table databases 2020-05-20 20:24:11 +01:00
Leonardo Cavaletti
511948dc3b Moved bundles and switched to chromedriver-autoinstaller 2020-05-20 19:24:48 +01:00
Leonardo Cavaletti
c489e0a8c1 Added anchor links processing and --chromedriver argument 2020-05-20 18:52:58 +01:00
Leonardo Cavaletti
5962d7232f Added check for width query parameter in cached files, fixed notion imgs 2020-05-19 21:43:11 +01:00
Leonardo Cavaletti
3c111236ba Fixed requirements.txt & image url unescaping for default Notion images 2020-05-19 20:42:37 +01:00
Leonardo Cavaletti
c124806bdb Removed rich and enlightened pacakges, set up own custom logger 2020-05-19 20:30:31 +01:00
Leonardo Cavaletti
f293dd63a3 Fixed bugs in page configuration fetch and downloads url hashing 2020-05-19 19:53:40 +01:00
Leonardo Cavaletti
93cd2c6445 Added duplicate page slug check, --clean and --verbose args 2020-05-18 20:11:17 +01:00
Leonardo Cavaletti
71c44a8750 Improved files downloading / caching 2020-05-18 19:40:16 +01:00
Leonardo Cavaletti
0115483f04 More styling for inline databases 2020-05-17 21:41:20 +01:00
Leonardo Cavaletti
f93e9b8faf Improved styling 2020-05-17 19:17:26 +01:00
Leonardo Cavaletti
3ff70de1b2 Implemented custom elements injection 2020-05-17 18:11:17 +01:00
Leonardo Cavaletti
dbff4e0ddb Added safety check for 'slug' parameter in [site] table 2020-05-17 13:15:52 +01:00
Leonardo Cavaletti
74a16b8a17 Added pages config by token matching, improved meta tags parsing 2020-05-17 13:11:06 +01:00