Commit Graph

37 Commits

Author SHA1 Message Date
mandarjog 61d0bce7df versioned docs: add build scripts to be driven thru jenkins (#368)
* add build scripts to be driven thru jenkins

* uniformly handle site.baseurl

* data-src should use full paths for now

* update build with version tag

* Add explanation re: CORS

* remove gitmodules
2017-06-12 09:23:11 -07:00
ryangrahamnc 2e59c99045 wrapped prismjs code blocks in a div so we can do overflow:auto without it breaking the shadows (#318) 2017-05-23 13:53:19 -07:00
ryangrahamnc 1ccde10021 fixed chevron when nav autocloses on mobile (#313) 2017-05-23 08:41:19 -07:00
ryangrahamnc 4cf4c69e8d fixed leftnav not responding on mobile (#309) 2017-05-23 08:25:58 -07:00
ryangrahamnc c758f72bc1 167 index design updates (#306)
* updated designs to match mockups

* hid header logo on landing page. made the down array clickable on landing page. scrolls to first section on click
2017-05-22 15:40:22 -07:00
ryangrahamnc b8b7cba8bc 292 mobile left nav (#303)
* added links for expandable headings for each of clicking on ipads (touch events try to jump to the nearest <a> tag, so trying to click the expand section would often trigger clicking the first link under it)

* fixed jumping back and forth of left nav when initial pageload has short width
2017-05-22 16:51:06 -04:00
Martin Taillefer 8a0c1c6402 Describe support for fancy preformatted block stuff. 2017-05-18 21:15:55 -07:00
Martin Taillefer d6681e4a66 A couple corrections. 2017-05-18 15:54:54 -07:00
Martin Taillefer 4d7f17a09c Spruce up our code blocks.
- Use different rendering style for code blocks.
- Define a default language so stuff always looks right.
- Add a bit more info to the writing-a-topic guide.
2017-05-18 07:08:36 -07:00
Martin Taillefer 0e52a7af34 Replace Jekyll's syntax highlighter with Prism. It handles YAML much better.
Prism also includes its own Copy to clipboard functionality, so remove our home
grown version.
2017-05-17 21:54:47 -07:00
Dave ab1fe1699c Fixes #248 - copy button no longer working (#261) 2017-05-17 15:20:37 -07:00
Dave 31a2f09892 remove manual setting of sidebar height and shift border (#237)
* remove manual setting of sidebar height and shift border to content container. refactor

* fix size of copy button font and move button above code blocks
2017-05-16 20:56:29 -07:00
Martin Taillefer 2316ebed0c Improve image handling using the figure.html include. 2017-05-16 07:28:24 -07:00
Martin Taillefer bc3b899ccc Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
Martin Taillefer 065e7a5c71 Move site content into the src directory.
This clearly separates site content from other repo state.
2017-05-15 19:22:30 -07:00
Dave fd42e9e78e Fixes for header text shifts on some pages (#216)
* make header same size on all pages

* Fixes #171

* change search box size on mobile displays

* always set body class to docs, set container to layout type

* partial for #213

* fix shifting text on mobile displays with blog page

* added tab slider to sidebar

* fix layout of doc H1 tag with sidebar tab
2017-05-15 18:10:37 -04:00
Dave ce63a064e7 Improve mobile layout
* Change search box size on mobile displays

*Aalways set body class to docs, set container to layout type

* partial for #213

* fix shifting text on mobile displays with blog page
2017-05-15 09:20:40 -07:00
Martin Taillefer 5dae46c479 Cleanup items. 2017-05-13 12:17:17 -07:00
Martin Taillefer cbdce1472b Enable syntax highlighting for PRE blocks. 2017-05-13 10:39:50 -07:00
Martin Taillefer d4fe298cf8 Fix some formatting issues and get rid of some dead stuff. 2017-05-08 12:28:41 -07:00
Martin Taillefer 3fda7d7647 Remove the "On this page..." line from the TOC.
Also shorten a few long doc titles.
2017-05-08 09:08:22 -07:00
Martin Taillefer 3eeaaa06eb Move the search results page out of "docs" since it now deals with the entire site. 2017-05-07 06:05:26 -07:00
Martin Taillefer c4797866bd Workaround for the fact Jekyll generates ALT attributes for <img> entries into of TITLE attributes. 2017-05-04 21:53:25 -07:00
Martin Taillefer b80ce5abd0 Add a Copy button to our <pre> blocks. 2017-05-04 09:35:52 -07:00
Martin Taillefer 77a316559f More fixes.
- Change "Table of Contents" to "On this page..."

- Remove the extra magnifying glass in the search input box.
2017-05-03 06:29:03 -07:00
Martin Taillefer 25fabe16f9 Various fixes
- Fix a number of broken links when viewing on a github staging site.

- Updated highligthing of "Edit this Page" pencil to match what other
buttons use on the site.

- Fixed the rendering of buttons on the landing page to have the proper
rounded corners to match our style.

- Support documents which omit the order: front matter field. Instead
of mysterious failues, they are now processed correctly and an error
message is inserted in the generated HTML to let the author know to
add the missing info.
2017-05-03 05:52:39 -07:00
Dave 8d24dc9e78 Replace large search button with icon (#101) 2017-05-02 21:00:17 -07:00
Dave 55a037737b TOC display and highlight current document in left nav (#95)
* toc CSS and JS fixes

* highlight current doc in left nav
2017-05-02 17:25:05 -04:00
Dave f447eec8cb toc CSS and JS fixes (#94) 2017-05-02 11:51:05 -07:00
Martin Taillefer 74a5c5854b Dave's changes to fix search-related formatting. 2017-05-01 21:48:27 -07:00
Martin Taillefer 6edc67cae3 A bit more work on search integration. 2017-05-01 20:58:26 -07:00
Martin Taillefer cb38d7d6da Improve the Edit This Page appearance. It's now a more discrete pencil. 2017-04-30 07:58:24 -07:00
Martin Taillefer f75a74d3df Improve formatting for auto-generated index pages. 2017-04-28 22:57:53 -07:00
Martin Taillefer c6ad2fca22 New nav tree model.
The directory structure of the input web site now controls directory the layout of the
doc hierarchy. This simplifies authoring documents and enriches the UI we generate.

This also fixes the broken link problem with the GitHub staging sites. Most links work
now.

Our sitemap.xml now contains all that it should, and excludes stuff that it shouldn't contain.
2017-04-28 06:18:38 -07:00
Shriram Rajagopalan 2d5397ffd3 use site.baseurl for collapsible.js 2017-04-07 15:06:50 -04:00
Shriram Rajagopalan 8f54c6d19b grpc.github.io -> istio.github.io 2017-03-30 18:08:48 -04:00
Shriram Rajagopalan 90e06a7830 initial commit of webpage based on grpc.io 2017-03-30 17:48:18 -04:00