-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: split blog genre into independent library
- Loading branch information
1 parent
558ae83
commit 2ff3351
Showing
42 changed files
with
58 additions
and
59 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import LeanDoc | ||
import LeanDoc.Genre.Blog | ||
|
||
open LeanDoc.Genre (Blog) | ||
open LeanDoc.Genre.Blog (page_link) | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import LeanDoc | ||
import LeanDoc.Genre.Blog | ||
|
||
open LeanDoc.Genre (Blog) | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import LeanDoc | ||
import LeanDoc.Genre.Blog | ||
|
||
open LeanDoc.Genre (Blog) | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import LeanDoc | ||
import LeanDoc.Genre.Blog | ||
|
||
open LeanDoc.Genre (Blog) | ||
open LeanDoc.Genre.Blog (page_link) | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import LeanDoc | ||
import LeanDoc.Genre.Blog | ||
|
||
open LeanDoc.Genre (Blog) | ||
open LeanDoc.Genre.Blog (page_link) | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import LeanDoc | ||
import LeanDoc.Genre.Blog | ||
|
||
open LeanDoc.Genre (Blog) | ||
|
||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import LeanDoc | ||
import LeanDoc.Genre.Blog | ||
|
||
open LeanDoc.Genre | ||
|
||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import BlogContents | ||
import LeanDoc | ||
|
||
open LeanDoc.Genre.Blog | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
-- This module serves as the root of the `Leandoc` library. | ||
-- This module serves as the root of the `LeanDoc` library. | ||
-- Import modules here that should be built as part of the library. | ||
import LeanDoc.Basic | ||
import LeanDoc.Doc.Concrete | ||
import LeanDoc.Doc.Elab | ||
import LeanDoc.Doc.Elab.Monad | ||
import LeanDoc.Doc.Html | ||
import LeanDoc.Doc.Lsp | ||
import LeanDoc.Genre | ||
import LeanDoc.Parser | ||
import LeanDoc.Output.Html |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import Lean | ||
|
||
import LeanDoc.Doc | ||
|
||
namespace LeanDoc.Build | ||
|
||
namespace Traverse | ||
-- In the traverse pass, we propagate information between nodes in the | ||
-- document Additionally, nodes may transform themselves in response | ||
-- to the information that's been gained. | ||
|
||
-- A given genre will fix its type of traversal values. Additionally, | ||
-- all genres support dynamically-typed entries to facilitate | ||
-- cross-genre libraries. | ||
|
||
structure TraversalState.{u} where | ||
Value : Type u | ||
contents : Lean.RBMap String (Value ⊕ Dynamic) compare | ||
|
||
|
||
|
||
|
||
end Traverse |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.