-
Notifications
You must be signed in to change notification settings - Fork 46
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 features from 0.19.4 for 1.x - minus all deprecations #522
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ts (#456) * render class attribute as render hint for top navigation bar * render class attribute as render hint for landing page based on approximate perceptual luminance of configured gradient colors * amend Helium CSS variable generator to produce new scoped mappings * adjust Helium CSS for new CSS variable mappings * fix css for ui-components on landing page * adjust transparent overlay for inverted color mode * hover for landing page button that works in all modes * satisfy mima with default impl
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
* add new LinkValidation config types * switch config default to LinkValidation.Local for core transformer
* extract DocumentTreeBuilder from parser runtime in laika-io * DocumentTreeBuilder - scaladoc and deprecations * DocumentTreeBuilder - add new spec that tests new API directly
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Co-authored-by: typelevel-steward[bot] <106827141+typelevel-steward[bot]@users.noreply.github.com>
Helium: new configuration options for including script or style resources.
preview server - render document AST under /ast path postfix
* link directives - properly support custom link text as documented * address mima issues by using a new private case class instead
# Conflicts: # .scalafmt.conf # README.md # build.sbt # core/shared/src/main/scala/laika/ast/Cursor.scala # core/shared/src/main/scala/laika/ast/DocumentTreeBuilder.scala # core/shared/src/main/scala/laika/ast/documents.scala # core/shared/src/main/scala/laika/config/LaikaKeys.scala # core/shared/src/main/scala/laika/rewrite/ReferenceResolver.scala # core/shared/src/main/scala/laika/rewrite/link/LinkConfig.scala # core/shared/src/main/scala/laika/rewrite/link/LinkValidator.scala # core/shared/src/test/scala/laika/ast/DocumentTreeAPISpec.scala # core/shared/src/test/scala/laika/ast/DocumentTreeBuilderSpec.scala # core/shared/src/test/scala/laika/ast/sample/SampleTrees.scala # core/shared/src/test/scala/laika/config/ConfigCodecSpec.scala # core/shared/src/test/scala/laika/directive/std/HTMLHeadDirectiveSpec.scala # core/shared/src/test/scala/laika/directive/std/StandardDirectiveSpec.scala # core/shared/src/test/scala/laika/rewrite/RewriteRulesSpec.scala # core/shared/src/test/scala/laika/rst/std/StandardBlockDirectivesSpec.scala # core/shared/src/test/scala/laika/rst/std/StandardSpanDirectivesSpec.scala # io/src/main/scala/laika/helium/generate/CSSVarGenerator.scala # io/src/main/scala/laika/helium/generate/ConfigGenerator.scala # io/src/main/scala/laika/helium/generate/LandingPageGenerator.scala # io/src/main/scala/laika/io/runtime/ParserRuntime.scala # io/src/main/scala/laika/io/runtime/TreeResultBuilder.scala # io/src/test/scala/laika/helium/HeliumHTMLHeadSpec.scala # io/src/test/scala/laika/helium/HeliumHTMLNavSpec.scala # io/src/test/scala/laika/helium/HeliumLandingPageSpec.scala # io/src/test/scala/laika/helium/HeliumRenderOverridesSpec.scala # io/src/test/scala/laika/helium/HeliumSiteCSSSpec.scala # io/src/test/scala/laika/io/TreeParserSpec.scala # io/src/test/scala/laika/io/TreeRendererSpec.scala # project/Dependencies.scala # project/ManualSettings.scala # project/build.properties # project/plugins.sbt
This reverts commit aeeb7f1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Merges all new features introduced in 0.19.4, including mermaid support and AST rendering in the preview server.
Breaking Changes
The old default of using a global search path for automatically linking all CSS and JS files from the input sources is no longer active. Users need to explicitly configure at least one search path (via
.site.internalCSS
or.site.internalJS
) for a resource scan to happen.The old behaviour was often unexpected (and users had to search for ways to disable it) and also came with the risk of overlapping search paths where a theme or extension adds their own resources. The new API allows more control in general (e.g. setting a condition per document for whether resources are linked or not).
More details in #511.
This PR prepares the 1.0.0-M4 release which will be the final milestone roughly in sync with the 0.19 code base.