Skip to content

Commit

Permalink
Filter draft docs out early
Browse files Browse the repository at this point in the history
  • Loading branch information
jodyheavener committed Apr 5, 2022
1 parent a9597a3 commit 94300f4
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 191 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,11 @@ exports[`simple site custom pagination 1`] = `
"pagination": [
{
"id": "doc with space",
"next": {
"permalink": "/docs/draft",
"title": "draft",
},
"prev": undefined,
},
{
"id": "draft",
"next": {
"permalink": "/docs/foo/bar",
"title": "Bar",
},
"prev": {
"permalink": "/docs/doc with space",
"title": "Hoo hoo, if this path tricks you...",
},
"prev": undefined,
},
{
"id": "foo/bar",
Expand Down Expand Up @@ -174,10 +163,6 @@ exports[`simple site custom pagination 1`] = `
"id": "doc with space",
"type": "doc",
},
{
"id": "draft",
"type": "doc",
},
{
"collapsed": false,
"collapsible": true,
Expand Down
Loading

0 comments on commit 94300f4

Please sign in to comment.