5ba8c14893
docs(aio): remove unnecessary anchor links from styleguide
2017-05-03 09:21:18 +01:00
ea9d8a6bc7
docs(aio): move pipes guide under components
2017-05-03 09:01:05 +01:00
9650ff0824
docs(aio): add hero “Zero” to toh-6
...
Update to in-memory-web-api should handle id=0.
Make sure this works by having a hero with id=0 in ToH.
Coincidentally delete lingering dead app/ folders
Todo: fix ToH images (which have to do anyway)
2017-05-03 08:03:55 +01:00
00dce1698a
docs(aio): grammatical fix. remove duplicate word 'our'
2017-05-03 08:03:03 +01:00
21c96a5af1
feat(aio): sidenav styling extended
2017-05-02 15:14:21 -07:00
a0b9c23100
feat(aio): support hiding the copy button on code-examole
components
...
In the API docs there are occasions where we do not wish the code snippet
to have a copy button. This commit supports that by providing a new `hideCopy`
attribute.
2017-05-02 15:14:03 -07:00
cb5bc76766
feat(aio): move search results under search box
...
This enables keyboarders to tab from the search box into the results.
Important for a11y according to issue #16005 .
2017-05-02 15:13:40 -07:00
1c8772a879
fix(aio): delete guide/index.md which is no longer used
2017-05-02 15:13:15 -07:00
79ed0e7121
feat(aio): display API icons in search results
...
Add API symbols for `let` and `var` so don’t have to translate those types into `const`
Also replace <hr> in search results HTML with ellipses icon.
2017-05-02 15:12:58 -07:00
0c69903123
feat(aio): top 5 weighted search results shown when many area results
2017-05-02 15:12:58 -07:00
04dc24820d
feat(aio): comment cleanup, API table styles
...
- API table styling
- Cleanup on resource page comments
2017-05-02 10:57:54 -07:00
ac220fc2bb
docs(aio): fix image size on homepage
2017-05-01 15:52:51 -07:00
3b80472bad
style(aio): fix comment on postProcessHtml processor
...
Fixes https://github.com/angular/angular/pull/16336#discussion_r113891332
2017-05-01 15:52:51 -07:00
ca17d4f639
build(aio): auto-fill width/height to all image tags
...
Parse all `<img>` tags, during doc-gen, and insert the width and height of
the sourceed image, if neither are already specified.
Warnings are reported if the `<img>` tag has no `src` attribute or the image
cannot be loaded.
The work is done in the `addImageDimensions` post-processor, which must be
configured with a `basePath` so that it knows where to find the images.
Closes #15888
2017-05-01 15:52:51 -07:00
64335d3521
build(aio): capture and log errors and warnings when post-processing HTML
2017-05-01 15:52:51 -07:00
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
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
c889fb1ef5
build(aio): include new packages in docs-watch
2017-05-01 15:52:51 -07:00
d32bc5df3e
feat(aio): add tooltip to nav node if none specified
2017-05-01 15:52:35 -07:00
efaf502e95
feat(aio): tell user when no search results
...
closes #16294
2017-05-01 15:51:44 -07:00
ff32c53099
docs(aio): fix lots of broken links
...
Closes #16317
2017-05-01 15:51:26 -07:00
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
aaa562898f
fix(aio): correct position of sidenav icons
2017-05-01 15:50:34 -07:00
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
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
f32bfcdbe5
build(aio): convert triple backtick blocks to code-example
tags
...
Closes #16246
2017-04-30 09:07:28 -07:00
24b9067047
build(aio): remove unused {@exampleTabs}
inline tag
2017-04-30 09:07:28 -07:00
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
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
f74dafcb07
docs(aio): Add numbers and steps to Tutorial navigation ( #16421 )
2017-04-30 09:06:36 -07:00
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
b70b9606eb
docs(aio): apply guidelines to ts-to-js - adapt for aio site ( #16054 )
2017-04-28 15:34:00 -07:00
938406122e
docs(aio): add missing word ( #16328 )
2017-04-28 15:33:23 -07:00
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
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
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
f1f04fa782
feat(aio): implement gkalpak review suggestions
2017-04-28 09:45:09 +01:00
4be1966a21
feat(aio): revise Docs page; docs version selector in sidenav
2017-04-28 09:40:39 +01:00
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
de36a9b718
fix(aio): improve positioning of heading-anchors
2017-04-27 23:42:04 -05:00
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
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
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
3f46645f5f
feat(aio): add Table of Contents (toc) component. ( #16078 )
2017-04-27 15:32:46 -07:00
2a7f63650c
build(aio): update @angular/service-worker to v1.0.0-beta.10
2017-04-27 10:14:32 +01:00
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
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
a9027a2570
fix(aio): fix ServiceWorker routing
2017-04-27 10:14:32 +01:00
72e32b1f17
fix(aio): update files ignored by the ServiceWorker
...
Fixes #16198
2017-04-27 10:14:32 +01:00
96648ba98a
fix(aio): fix incorrect image URLs in guides
2017-04-27 10:14:32 +01:00