Commit Graph

15769 Commits

Author SHA1 Message Date
Marcus Blättermann
186c1d1f37
Redirect index.mdx to parent directory 2022-11-16 21:40:09 +01:00
Marcus Blättermann
9d9f5cc8ba
Extract logic 2022-11-16 20:53:13 +01:00
Marcus Blättermann
84f8b2fcbd
Allow to parse subfolders for pages 2022-11-16 20:39:02 +01:00
Marcus Blättermann
7f52b89a04
Refactoring 2022-11-16 20:37:39 +01:00
Marcus Blättermann
8d3ed7c1a4
Allow to handle directories for page creation 2022-11-16 20:36:45 +01:00
Marcus Blättermann
cb1447dfa9
Extract function
This will make the next commit easier to read
2022-11-16 20:36:45 +01:00
Marcus Blättermann
6453ee902c
Add plugin to readd support for tables 2022-11-16 20:36:45 +01:00
Marcus Blättermann
67893b4d90
Allow custom attributes to parse single attributes as well 2022-11-16 20:36:45 +01:00
Marcus Blättermann
cc1597e4c5
Add plugin for custom attributes on Markdown elements 2022-11-16 20:36:45 +01:00
Marcus Blättermann
f216853b01
Add ability to load plugins 2022-11-16 20:36:45 +01:00
Marcus Blättermann
7f0092c6e2
Add import for custom components 2022-11-16 20:36:44 +01:00
Marcus Blättermann
e99b38631d
Convert to module
This allows to use `import/export` syntax
2022-11-16 20:36:44 +01:00
Marcus Blättermann
22a342ed6b
Add missing dependencies 2022-11-16 20:36:44 +01:00
Marcus Blättermann
91899993f9
Remove default pages and styling 2022-11-16 20:36:44 +01:00
Marcus Blättermann
5531eaca28
Add SASS support 2022-11-16 20:36:44 +01:00
Marcus Blättermann
f7ca5ce751
Add /public 2022-11-16 20:36:44 +01:00
Marcus Blättermann
9b044a5138
Add experimental Rust MDX parser 2022-11-16 20:36:44 +01:00
Marcus Blättermann
1ee08e8cf7
Add basic implementation for MDXRemote 2022-11-16 20:36:42 +01:00
Marcus Blättermann
0cbf94f351
Rename component 2022-11-16 17:18:02 +01:00
Marcus Blättermann
87d1bcfcf4
Apply prettier 2022-11-16 17:18:02 +01:00
Marcus Blättermann
d62a1d3f9c
Remove redefined attribute 2022-11-16 17:18:02 +01:00
Marcus Blättermann
7919dc04e2
Remove unnessary key
This reduces the reliance on `location`
2022-11-16 17:18:02 +01:00
Marcus Blättermann
42f9be01dd
Remove invalid semicolon
`SassError: semicolons aren't allowed in the indented syntax.`
2022-11-16 17:18:02 +01:00
Marcus Blättermann
70d6ac9a44
Remove references to non-existing CSS classes 2022-11-16 17:18:02 +01:00
Marcus Blättermann
5c710ab283
Fix eslint-error no-anonymous-exports-page-templates 2022-11-16 17:18:02 +01:00
Marcus Blättermann
0ddabc1946
Fix invalid SASS selector 2022-11-16 17:18:01 +01:00
Marcus Blättermann
12f4f980e0
Fix SASS deprecation
This is a super annoying breaking change in sass (it also happens in `node-sass`/`node-scss`), but there seems to be no way around it.

context: https://sass-lang.com/documentation/breaking-changes/slash-div
2022-11-16 17:18:01 +01:00
Marcus Blättermann
1a906e6d35
Fix sass error
`SassError: Top-level selectors may not contain the parent selector "&".`
2022-11-16 17:18:01 +01:00
Marcus Blättermann
4e4c73e78f
Fix invalid SASS 2022-11-16 17:18:01 +01:00
Marcus Blättermann
4e3f8802d5
Update SASS module import 2022-11-16 17:18:01 +01:00
Marcus Blättermann
088ae26f43
Delete api 2022-11-10 02:48:47 +01:00
Marcus Blättermann
f1035ce599
Make sure to use correct node version 2022-11-10 02:48:47 +01:00
Marcus Blättermann
1903af8352
Apply prettier to all files 2022-11-10 02:48:45 +01:00
Marcus Blättermann
12fa509de4
Add prettier 2022-11-10 02:48:23 +01:00
Marcus Blättermann
cc4486dc38
Disabled TypeScript strict mode for now 2022-11-10 02:48:23 +01:00
Marcus Blättermann
066b670e30
Add VSCode extension recommendation 2022-11-10 00:35:41 +01:00
Marcus Blättermann
fe969fb303
Allow Next to handle .md and .mdx files. 2022-11-10 00:22:41 +01:00
Marcus Blättermann
9a57c8784c
Add MDX to Next 2022-11-10 00:22:01 +01:00
Marcus Blättermann
753d481bab
Install MDX packages
Following: 77b5f79a4d/packages/next-mdx/readme.md
2022-11-10 00:19:59 +01:00
Marcus Blättermann
b3b33f7a56
Run npx create-next-app@13 next-blog 2022-11-10 00:18:01 +01:00
Marcus Blättermann
3a0316f299
Initial commit 2022-11-09 18:30:34 +01:00
Marcus Blättermann
0437cae7a4
Update Node version to 16 2022-11-04 13:05:18 +01:00
Marcus Blättermann
f9961b55fd
Lock current node version 2022-11-04 13:05:18 +01:00
Marcus Blättermann
c3bcadec59
Apply prettier to README 2022-11-04 13:05:17 +01:00
github-actions[bot]
bbf64cfc43
Auto-format code with black (#11749)
Co-authored-by: explosion-bot <explosion-bot@users.noreply.github.com>
2022-11-04 11:17:43 +01:00
Adriane Boyd
40e1000db0
Restore Doc attr getter values in Doc.to_json (#11700) 2022-11-03 11:49:08 +01:00
Paul O'Leary McCann
db56600536
Fix default parameters for load functions (fix #11706) (#11713)
* Fix default parameters for load functions

Some load functions used SimpleFrozenList() directly instead of the
_DEFAULT_EMPTY_PIPES parameter. That mostly worked as intended, but
the changes in #11459 check for equality using identity, not value, so a
warning is incorrectly raised sometimes, as in #11706.

This change just has all the load functions use the singleton value
instead.

* Add test that there are no warnings on module-based load

This will succeed due to changes in this branch, but local tests with
the latest release failed as intended.

* Try reverting commit and see if CI changes

There is an error in CI that is probably unrelated.

Revert "Fix default parameters for load functions"

This reverts commit dc46b35687.

* Revert "Try reverting commit and see if CI changes"

This reverts commit 2514ed07ef.

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
2022-11-03 10:52:59 +01:00
Adriane Boyd
1211552f0e
Modernize and simplify CI steps (#11738)
* Use `build` instead of `python setup.py sdist`
* Remove in-place build with `setup.py`
* Remove `gpu` parameter and GPU tests
* Keep `architecture` and `num_build_jobs` in azure steps with CI
  defaults
* Fix use of `num_build_jobs` parameters
* Remove now-unused `prefix` parameter
* Test imports and CLI before installing test requirements
  * Remove `*.egg-info` directory in addition to source directory for an
    warning-free `import spacy`
* Switch `thinc-apple-ops` test to python 3.11 (as most recent python
  that is tested across platforms)
2022-11-03 09:29:46 +01:00
Ryn Daniels
2fb7e4dc74
More version updates for github action deprecation warnings (#11705)
* More version updates for github action deprecation warnings

* fix the deprecated set-output commands

* bump explosion-bot to run on ubuntu-latest
2022-11-02 15:36:30 +01:00
Adriane Boyd
420b1d854b
Update textcat scorer threshold behavior (#11696)
* Update textcat scorer threshold behavior

For `textcat` (with exclusive classes) the scorer should always use a
threshold of 0.0 because there should be one predicted label per doc and
the numeric score for that particular label should not matter.

* Rename to test_textcat_multilabel_threshold

* Remove all uses of threshold for multi_label=False

* Update Scorer.score_cats API docs

* Add tests for score_cats with thresholds

* Update textcat API docs

* Fix types

* Convert threshold back to float

* Fix threshold type in docstring

* Improve formatting in Scorer API docs
2022-11-02 15:35:04 +01:00