Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop into master #104

Merged
merged 63 commits into from Mar 4, 2020
Merged

Merge develop into master #104

merged 63 commits into from Mar 4, 2020

Conversation

chrisjsewell
Copy link
Member

This is a precursor to making master the default branch

chrisjsewell and others added 30 commits February 13, 2020 15:04
You can now do e.g.

```
(header_target)= 
# Header

{ref}`header_target`
```
- Implement `render_auto_link`, `render_html_span` and `render_html_block`
- Add tests for more syntax elements
- Add parsed token and PR guide to README
- Specify github fork in `setup_requires`
- Update .travis.yml
- Remove docs/requirements.txt
Also add labelled math to example.
The classic use case for sphinx is:

```markdown
---
orphan: true
---

This is an orphan document, not specified in any toctrees.
```
* adding inter-doc links and more explanation of tokens
* Add quotations in install command (required by som consoles)
Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
choldgraf and others added 28 commits February 16, 2020 10:29
Also add error reporting for YAML block parsing.
In this PR I have:

1. Restructured the test folder and added an `AstRenderer` and lower level tests for the source text to Markdown (mistletoe) AST.
2. Added `docs/develop/test_infrastructure.md` to explain the testing inrastructure.
3. Restructured the directive block parsing, to make it more modular/understandable and improved error checking and reporting.

fixes #54, fixes #55, fixes #51
* Incorporate math blocks into core token search
* improve `find_core_tokens`
* Update span_tokens.py
* Improve consisency between examples
* Retry `math:numref`
* Update wealth_dynamics_md.md
Also:
- Rename `set_current_node` -> `current_node_context`
- Add role syntax tests
* Move directive parsing code to separate module
* Allow content to start on argument block (if no arguments allowed)
* Update syntax.md

fixes #55
- The GitHub folder has been renamed to 'MyST-Parser'
- The package name has been change to 'myst-parser'
- Also changed doc references from Myst to MyST
Also:
* Update Sphinx environment mocking
* Add basic sphinx documentation
Also:
* Fix warnings in docs
* Add guidance on how to run doc build tests
* Allow parsed lines to be stored in the document
* Ignore 'private' underscore attribute in `AstRenderer`
Although `Footnote` is used by mistletoe, this is incorrect because it actually refers to <https://spec.commonmark.org/0.28/#link-reference-definitions>, rather than what would generally be considered a footnote: <https://www.markdownguide.org/extended-syntax/#footnotes>.

There is discussion about link definitions vs footnotes here: <https://talk.commonmark.org/t/footnote-extensions-vs-link-reference-definition/2571>.
Add CLI and documentation, benchmarking `myst-parser` against other Python based markdown parsers.
Part of the benchmark, but then shows up in the top-level index
Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
to make sure the build return a non-zero exit code on warnings, but does still complete.
@chrisjsewell chrisjsewell merged commit 33a385e into master Mar 4, 2020
@chrisjsewell chrisjsewell deleted the develop branch December 31, 2020 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants