fix(aio): temporarily remove link to source from the API pages (#17371)
We need to come up with a better design (possibly involving an icon button) to link to the source code (for viewing and/or editing). Fixes #17254
This commit is contained in:
parent
3a99af2696
commit
65d49d5c94
@ -59,14 +59,6 @@ describe('site App', function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('api-docs', () => {
|
|
||||||
it('should show a link to github', () => {
|
|
||||||
page.navigateTo('api/common/NgClass');
|
|
||||||
expect(page.ghLink.getAttribute('href'))
|
|
||||||
.toMatch(/https:\/\/github.com\/angular\/angular\/tree\/.+\/packages\/common\/src\/directives\/ng_class\.ts/);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
describe('tutorial docs', () => {
|
describe('tutorial docs', () => {
|
||||||
it('should not render a paragraph element inside the h1 element', () => {
|
it('should not render a paragraph element inside the h1 element', () => {
|
||||||
page.navigateTo('tutorial/toh-pt1');
|
page.navigateTo('tutorial/toh-pt1');
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
.api-info-bar {
|
.api-info-bar {
|
||||||
max-width: 800px;
|
max-width: 800px;
|
||||||
text-align: center;
|
text-align: left;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
margin: 0 16px;
|
margin: 0 16px 0 0;
|
||||||
|
|
||||||
@media screen and (max-width: 600px) {
|
@media screen and (max-width: 600px) {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,8 +11,4 @@
|
|||||||
NgModule: {@link {$ doc.ngModule $}}
|
NgModule: {@link {$ doc.ngModule $}}
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
<span class="info-bar-item">
|
|
||||||
{$ github.githubViewLink(doc, versionInfo) $}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user