Peter Bacon Darwin
64335d3521
build(aio): capture and log errors and warnings when post-processing HTML
2017-05-01 15:52:51 -07:00
Peter Bacon Darwin
9945ce2259
build(aio): move copyContentAssets processor to the base package
...
This allows other processors who need to know about the copyContentAssets
processors to ensure that the runs after the content has been copied.
2017-05-01 15:52:51 -07:00
Peter Bacon Darwin
6d9da73090
build(aio): move attribute utils to helpers folder
...
This allows these utility functions to be reused across packages.
2017-05-01 15:52:51 -07:00
Peter Bacon Darwin
c889fb1ef5
build(aio): include new packages in docs-watch
2017-05-01 15:52:51 -07:00
Ward Bell
d32bc5df3e
feat(aio): add tooltip to nav node if none specified
2017-05-01 15:52:35 -07:00
Ward Bell
efaf502e95
feat(aio): tell user when no search results
...
closes #16294
2017-05-01 15:51:44 -07:00
Jesus Rodriguez
ff32c53099
docs(aio): fix lots of broken links
...
Closes #16317
2017-05-01 15:51:26 -07:00
Peter Bacon Darwin
235eb17cca
build(aio): improve info-bar template
...
The "npm module" and "NgModule" are now rendered correctly.
Closes #16055
2017-05-01 15:51:03 -07:00
Stefanie Fluin
aaa562898f
fix(aio): correct position of sidenav icons
2017-05-01 15:50:34 -07:00
Stefanie Fluin
c8fd904c32
fix(aio): remove max width on marketing pages and footer
...
- Removed the max-width on all marketing pages
- Moved the footer so that it extends fully horizontally on all screen sizes
2017-05-01 15:50:17 -07:00
Stefanie Fluin
65a8f7f6c9
fix(aio): search result styling
...
- Changed search result link hover state to white to be more legible
- Increased the max-height on search results container to remove the jitter
- Changed search results to have space-around vs space-between for more appropriate spacing
2017-05-01 15:49:46 -07:00
Peter Bacon Darwin
f32bfcdbe5
build(aio): convert triple backtick blocks to `code-example` tags
...
Closes #16246
2017-04-30 09:07:28 -07:00
Peter Bacon Darwin
24b9067047
build(aio): remove unused `{@exampleTabs}` inline tag
2017-04-30 09:07:28 -07:00
Ward Bell
de8de84cea
test(aio): confirm ga tracks user’s # fragment clicks within a page ( #16441 )
...
This was the behavior and we think we still want to do it.
Added comment and test to confirm that is our present intention.
2017-04-30 09:07:12 -07:00
Ward Bell
8d300ffbfc
fix(aio): header click should always toggle expand/collapse ( #16439 )
...
Also adds class tests for this NavItemComponent.
Not (yet) testing effects on the templated HTML
2017-04-30 09:07:00 -07:00
Ward Bell
f74dafcb07
docs(aio): Add numbers and steps to Tutorial navigation ( #16421 )
2017-04-30 09:06:36 -07:00
Ward Bell
a2b2afb21c
feat(aio): add marketing class to AppComponent <aio-shell> on mkt page ( #16395 )
...
Also navigation.json Doc page should be hidden in sidebar, shown in top
2017-04-28 15:34:20 -07:00
Kapunahele Wong
b70b9606eb
docs(aio): apply guidelines to ts-to-js - adapt for aio site ( #16054 )
2017-04-28 15:34:00 -07:00
Will Howell
938406122e
docs(aio): add missing word ( #16328 )
2017-04-28 15:33:23 -07:00
Kim Burgess
951a575db3
docs(aio): fix broken NgModules link in tutorial ( #16398 )
...
Brackets included in link title contents were breaking markdown
parsing, preventing correct link generation.
2017-04-28 15:32:46 -07:00
Georgios Kalpakas
c04e51cb15
fix(aio): do not create ToC for `file-not-found` and `fetching-error` documents
...
Related to #16078 .
2017-04-28 15:06:05 +01:00
Ward Bell
7b94f493b9
feat(aio): code snippet source available & shown when code missing
...
Tells reader (usually the author) what code file is missing
Also when no linenums specified, turn them on if num of lines > 10
2017-04-28 11:07:45 +01:00
Ward Bell
f1f04fa782
feat(aio): implement gkalpak review suggestions
2017-04-28 09:45:09 +01:00
Ward Bell
4be1966a21
feat(aio): revise Docs page; docs version selector in sidenav
2017-04-28 09:40:39 +01:00
Peter Bacon Darwin
de25cfc0cb
build(aio): move autolink-headings to post-processing ( #16336 )
...
The autolinking is now done on the `renderedContent` which means it also
captures and autolinks headings that were generated outside of markdown.
PR Close #16336
2017-04-27 23:42:04 -05:00
Peter Bacon Darwin
de36a9b718
fix(aio): improve positioning of heading-anchors
2017-04-27 23:42:04 -05:00
Peter Bacon Darwin
883a3250e4
fix(aio): ensure styling of icons is specific to usage
...
Previously the CSS styling for material icons was too broad and affected
all instances of icons. This commit constrains the position of copy button
icons only to copy buttons.
2017-04-27 23:42:04 -05:00
Peter Bacon Darwin
1ceb2f9c79
build(aio): add new post-process dgeni package
...
This package will allow us to do complex post-processing
on the HTML that is rendered by Nunjucks.
2017-04-27 23:42:04 -05:00
swseverance
fbde2a8010
docs(aio): correct abbreviation ( #16295 )
...
change abbreviation from 'ES' to 'ES2015'. the 'ES2015' abbreviation is used elsewhere in the tutorial.
2017-04-27 21:39:46 -07:00
Ward Bell
3f46645f5f
feat(aio): add Table of Contents (toc) component. ( #16078 )
2017-04-27 15:32:46 -07:00
Georgios Kalpakas
2a7f63650c
build(aio): update @angular/service-worker to v1.0.0-beta.10
2017-04-27 10:14:32 +01:00
Georgios Kalpakas
cd5b1f306a
refactor(aio): move `/guide/docs.md` to `/marketing/docs.md`
...
Because:
1. `docs` feels like a "top level" page, similar to `features`, `resources`, `events` etc.
2. This enables the ServiceWorker to pre-fetch/cache the document (similar to what happens with all
other direct children of `content/docs/`), without the need for special-casing it in
`ngsw-manifest.json`.
2017-04-27 10:14:32 +01:00
Georgios Kalpakas
749bcf3d9c
feat(aio): cache external resources in the ServiceWorker
...
Cache resources that are necessary for displaying the basic pages when offline.
2017-04-27 10:14:32 +01:00
Georgios Kalpakas
a9027a2570
fix(aio): fix ServiceWorker routing
2017-04-27 10:14:32 +01:00
Georgios Kalpakas
72e32b1f17
fix(aio): update files ignored by the ServiceWorker
...
Fixes #16198
2017-04-27 10:14:32 +01:00
Georgios Kalpakas
96648ba98a
fix(aio): fix incorrect image URLs in guides
2017-04-27 10:14:32 +01:00
Georgios Kalpakas
6561d46349
refactor(aio): move content-related images to `content/images/`
2017-04-27 10:14:32 +01:00
Georgios Kalpakas
2e5e37ac58
refactor(aio): move unused images to `unused/` sub-directories
2017-04-27 10:14:32 +01:00
Pete Bacon Darwin
6bac4e65ce
build(aio): update dgeni-packages to 0.17.2 ( #16358 )
...
This version has fix for the jsdoc parser, which was
causing false negative warnings and errors in the doc
gen.
Closes #16319
2017-04-26 14:53:33 -07:00
Stefanie Fluin
bb52e22ecf
feat(aio): api pages styling
...
- Banner class code consolidation for API pages
- Set up temporary table of contents class and file
- API pages title styling
- Add color styling to doc-type listed on each API details page
- Classes and SCSS variables refactor
- Mobile optimization on headers, info-banner, and API pages
- API page table custom styling
- API Class Overview template code overview into table format
2017-04-26 14:31:54 +01:00
Stefanie Fluin
35a2dfc177
fix(aio): resource nav
2017-04-26 09:48:33 +01:00
Ward Bell
d8e2829e5b
feat(aio): boilerplate:add cleans (removes) before adding
2017-04-26 09:23:32 +01:00
Ward Bell
ac5e6baced
fix(aio): AppComponent should scroll only once when location changes
2017-04-26 09:20:00 +01:00
Stefanie Fluin
710b4a3503
feat(aio): layout max width and design cleanup
...
- Content container now has a max width and made the body background the same offwhite color so the cut-off is not visible
- Sidenav will always remain at the left of the page
- Added a max width to the api banner of filter search inputs
- Left aligned content container so it is flush with sidenav
- Changed API filter width to match size of filter results
2017-04-26 08:57:30 +01:00
Peter Bacon Darwin
5331fc1aab
build(aio): turn on dangling link checking
2017-04-25 14:09:08 +01:00
Peter Bacon Darwin
9b7f2ce6c3
test(aio): add missing test for AppComponent 'starting' feature
2017-04-25 12:30:32 +01:00
Ward Bell
11b2f62ed2
feat(aio): don't animate sidenav on launch.
2017-04-25 07:42:53 +01:00
Stefanie Fluin
e7c37d77a8
feat(aio): copy code snackbar and design updates
...
- Add snackbar and pointer cursor for copy code button inside aio-code components
- Flex cenetered content in features page
- Removed duplicate global css class
- Add styles to links inside of sub-sections
- Remove focus outline on top nav bar links
2017-04-25 07:36:23 +01:00
Peter Bacon Darwin
1762047bc0
build(aio): fix other dgeni templates
...
The function and interface templates were overriding the
wrong block.
2017-04-25 07:35:34 +01:00
Peter Bacon Darwin
9a4c8d543d
build(aio): fix rendering of Decorator API docs
...
The templates were a bit out and we were not merging the
correct properties.
Added some docs and tests for the processor.
Related to #16208
2017-04-25 07:35:34 +01:00