Commit graph

15 commits

Author SHA1 Message Date
Yangshun Tay
49cfdeb42b feat: make blog posts unlisted only in production 2019-06-15 10:32:43 -07:00
Ólafur Páll Geirsson
da3c91373e feat: add "unlisted" front matter option for blog posts (#1396)
* Add `unlisted` header option for blog posts, fixes #1393.

Previously, the blog sidebar listed the most recent blog posts sorted by
their publish date. This commit adds the ability to hide a specific blog
post from the sidebar and the feed of all blog posts by adding the
`unlisted: true` header option.

```md
title: My Draft Post
unlisted: true # Hide from blog sidebar and main blog page feed.
---
```

* Rename "unlisted" into "draft".
2019-06-15 09:24:15 -07:00
Shawn Tabrizi
b1023aa9ac fix: remove the Container component from the docsNavContainer (#1599)
In this case, the `docsNavContainer` does not pick up any styles or attributes from the `container` component it is wrapped in.

It does however pick up the pesky `.container` className, which when paired with bootstrap, messes up the styling of the top navigation in mobile.

This change is completely non-destructive, but helps enable the use of bootstrap on top of Docusaurus.
2019-06-13 09:05:41 -07:00
Tushar Sharma
9514593d5f feat: highlight nav item in onPageNav ToC (#1524)
* feat: highlight nav item in onPageNav ToC

* fix: use es5 in browser scripts, update documentation, css refactoring

* fix: removes smooth scroll

* fix: removes unnecessary codeblock , undo css formatting issues, modify scrip load url

* fix: update scrollspy script comments
2019-05-30 08:54:47 -07:00
Yangshun Tay
ef1af0a5be
fix: don't collapse the blog navigation even if collapsible is true (#1519)
* fix: don't collapse the blog navigation even if collapsible is true

* fix: read docsSideNavCollapsible from props
2019-05-26 20:37:58 -07:00
Hongarc
382b88bb49 fix: mobile navigation should show deepest breadcrumb instead of outermost (#1493) 2019-05-19 16:13:39 +07:00
Hongarc
1587810e8f fix: wrong url in next/prev button in some cases (#1488) 2019-05-18 13:29:13 +07:00
Sakti Kr Chourasia
084a49819f fix: h3 topics with Markdown formatting causes a glitch on mobile (#1467)
* fixed h3 topics with Markdown formatting causes a glitch on mobile

* replaced currenttarget to headings for if check

* use var instead of es6
2019-05-18 12:57:57 +07:00
Endi
f84abfe2d1
fix: right TOC should not strip special chars (#1458)
* fix: right TOC should not strip special chars

* nits
2019-05-14 23:55:35 +07:00
Yangshun Tay
64fdafbcea fix: replace use of deepmerge with _.merge (#1430) 2019-05-02 22:00:28 +07:00
Zach Badgett
0813920349 refactor: refactor code tab split (#1369)
* refactor: refactor code tab split

* Add split tab unit test

* Fix code tab list bug
2019-05-01 20:57:13 -07:00
Roland Balogh
195e934858 feat: change icon for navToggle (#1394) 2019-04-26 09:50:41 -07:00
Nathaniel Tucker
c1026516e1 fix: prism syntax highlight .tsx properly (#1391) 2019-04-25 20:42:10 +07:00
Endilie Yacop Sucipto
d51f2c9f92
fix: anchors links for underscore character (#1309) 2019-03-25 16:54:23 +07:00
Endilie Yacop Sucipto
1f91d19a8c
chore: move to monorepo (#1297)
* chore: move to monorepo

* lint all js file

* simplify circleCI

* fix failing tests

* fix tests due to folder rename

* fix test since v1 website is renamed
2019-03-23 14:21:36 +07:00