Skip to content

Commit a1a9969

Browse files
committed
恢复内链中的前置路径分隔符“/”,并更新至最新文档
1 parent f967bc1 commit a1a9969

File tree

974 files changed

+9775
-6574
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

974 files changed

+9775
-6574
lines changed

README_en.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ documentation.
55

66
- [Code of conduct](/CODE_OF_CONDUCT.md)
77
- [Glossary](glossary/README.md) - definitions of commonly used terms
8-
- [Getting started](get-started/README.md) - everything you need to get started with Fuchsia
8+
- [Getting started](/get-started/README.md) - everything you need to get started with Fuchsia
99
- [Development](development/README.md) - instructions for building, running and
1010
testing Fuchsia and software that runs on Fuchsia
11-
- [System](concepts/index.md) - documentation for how Fuchsia works
12-
- [Zircon](concepts/kernel/README.md) - documentation for the Zircon kernel
13-
- [Run an example component](development/run/run-examples.md) - instructions for running examples
11+
- [System](/concepts/index.md) - documentation for how Fuchsia works
12+
- [Zircon](/concepts/kernel/README.md) - documentation for the Zircon kernel
13+
- [Run an example component](/development/run/run-examples.md) - instructions for running examples
1414
on a device
1515
- [Contributing changes](/CONTRIBUTING.md)
1616

_common/_deprecated-docs.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
# deprecated and on which date it was deprecated.
1010
# Using ? or * is not supported in the redirect links.
1111
included:
12-
- from: contribute/fake-page.md
13-
to: contribute/docs/deprecation-notice.md
12+
- from: /contribute/fake-page.md
13+
to: /contribute/docs/deprecation-notice.md

_common/_deprecation_notice.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
<b>Deprecated:</b> This document will soon be deprecated and removed
33
permanently from fuchsia.dev. For more information on deprecating
44
documentation, see
5-
<a href="contribute/deprecating-docs.md>">Deprecating documentation.</a>
5+
<a href="/contribute/deprecating-docs.md>">Deprecating documentation.</a>
66
</aside>

_common/_doc_widgets.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ Help text glossary macros
3737
<abbr data-title="{{ item.term }}: {{ item.short_description|striptags }}">{{ title }}</abbr>
3838
{% set match=true %}
3939
{% else %}
40-
<a href="glossary.md#{{ item.term|replace(' ', '-')|lower }}"><abbr data-title="{{ item.term }}: {{ item.short_description|striptags }}">{{ title }}</abbr></a>
40+
<a href="/glossary.md#{{ item.term|replace(' ', '-')|lower }}"><abbr data-title="{{ item.term }}: {{ item.short_description|striptags }}">{{ title }}</abbr></a>
4141
{% set match=true %}
4242
{% endif %}
4343
{% else %}
4444
{% if notclickable|lower == "notclickable" %}
4545
<abbr data-title="{{ item.term }}: {{ item.short_description|striptags }}">{{ item.term }}</abbr>
4646
{% set match=true %}
4747
{% else %}
48-
<a href="glossary.md#{{ item.term|replace(' ', '-')|lower }}"><abbr data-title="{{ item.term }}: {{ item.short_description|striptags }}">{{ item.term }}</abbr></a>
48+
<a href="/glossary.md#{{ item.term|replace(' ', '-')|lower }}"><abbr data-title="{{ item.term }}: {{ item.short_description|striptags }}">{{ item.term }}</abbr></a>
4949
{% set match=true %}
5050
{% endif %}
5151
{% endif %}
@@ -72,7 +72,7 @@ Simple definition callout. Use between pargraphs.
7272
}
7373
</style>
7474
<aside class="key-term" style="width:100%">
75-
<b><a href="glossary.md#{{ item.term|replace(' ', '-')|lower }}">{{ item.term }}</a>:</b>
75+
<b><a href="/glossary.md#{{ item.term|replace(' ', '-')|lower }}">{{ item.term }}</a>:</b>
7676
{% if item.full_description != '' %}
7777
{{ item.full_description }}
7878
{% elif item.short_description != '' %}

_toc.yaml

+18-18
Original file line numberDiff line numberDiff line change
@@ -11,42 +11,42 @@ toc:
1111
- title: "Overview"
1212
path: /docs
1313
- title: "Fundamentals"
14-
path: get-started/learn-fuchsia.md
15-
- include: get-started/sdk/_toc.yaml
16-
- include: get-started/_toc.yaml
17-
- include: get-started/learn/_toc.yaml
14+
path: /get-started/learn-fuchsia.md
15+
- include: /get-started/sdk/_toc.yaml
16+
- include: /get-started/_toc.yaml
17+
- include: /get-started/learn/_toc.yaml
1818
- name: "Concepts"
1919
contents:
20-
- include: concepts/_toc.yaml
20+
- include: /concepts/_toc.yaml
2121
- title: "Glossary"
22-
path: glossary/README.md
22+
path: /glossary/README.md
2323
- name: "Development"
2424
contents:
25-
- include: development/_toc.yaml
26-
- include: development/sdk/_toc.yaml
25+
- include: /development/_toc.yaml
26+
- include: /development/sdk/_toc.yaml
2727
- name: "Reference"
2828
contents:
29-
- include: reference/_toc.yaml
29+
- include: /reference/_toc.yaml
3030
- name: "Contribute"
3131
contents:
32-
- include: contribute/_toc.yaml
32+
- include: /contribute/_toc.yaml
3333
- name: "Governance"
3434
contents:
35-
- include: contribute/governance/_toc.yaml
35+
- include: /contribute/governance/_toc.yaml
3636
- name: "Contribute to docs"
3737
contents:
38-
- include: contribute/docs/_toc.yaml
38+
- include: /contribute/docs/_toc.yaml
3939
- name: "Community"
4040
contents:
41-
- include: contribute/community/_toc.yaml
42-
- include: contribute/docs/_toc.yaml
41+
- include: /contribute/community/_toc.yaml
42+
- include: /contribute/docs/_toc.yaml
4343

4444
# Orphaned files, these files don't display anywhere. Workaround for doc-checker, should be avoided
4545
- title: "Deprecated: FTP process"
46-
path: contribute/governance/deprecated-ftp-process.md
46+
path: /contribute/governance/deprecated-ftp-process.md
4747
- title: "Deprecated: FTP template"
48-
path: contribute/governance/deprecated-ftp-template.md
48+
path: /contribute/governance/deprecated-ftp-template.md
4949
- title: "Fuchsia.dev shortlinks"
50-
path: go/README.md
50+
path: /go/README.md
5151
- title: "Deprecation notice"
52-
path: contribute/docs/deprecation-notice.md
52+
path: /contribute/docs/deprecation-notice.md

concepts/_toc.yaml

+16-16
Original file line numberDiff line numberDiff line change
@@ -7,48 +7,48 @@
77
# team as reviewer.
88
toc:
99
- title: "Overview"
10-
path: concepts/index.md
10+
path: /concepts/index.md
1111
- title: "Principles"
1212
section:
13-
- include: concepts/principles/_toc.yaml
13+
- include: /concepts/principles/_toc.yaml
1414
- title: "Software model"
15-
path: concepts/software_model.md
15+
path: /concepts/software_model.md
1616
- title: "Accessibility"
1717
section:
18-
- include: concepts/accessibility/_toc.yaml
18+
- include: /concepts/accessibility/_toc.yaml
1919
- title: "Components"
2020
section:
21-
- include: concepts/components/_toc.yaml
21+
- include: /concepts/components/_toc.yaml
2222
- title: "Drivers"
2323
section:
24-
- include: concepts/drivers/_toc.yaml
24+
- include: /concepts/drivers/_toc.yaml
2525
- title: "Filesystems"
2626
section:
27-
- include: concepts/filesystems/_toc.yaml
27+
- include: /concepts/filesystems/_toc.yaml
2828
- title: "Memory"
2929
section:
30-
- include: concepts/memory/_toc.yaml
30+
- include: /concepts/memory/_toc.yaml
3131
- title: "Process"
3232
section:
33-
- include: concepts/process/_toc.yaml
33+
- include: /concepts/process/_toc.yaml
3434
- title: "FIDL"
3535
section:
36-
- include: concepts/fidl/_toc.yaml
36+
- include: /concepts/fidl/_toc.yaml
3737
- title: "Kernel"
3838
section:
39-
- include: concepts/kernel/_toc.yaml
39+
- include: /concepts/kernel/_toc.yaml
4040
- title: "Packages"
4141
section:
42-
- include: concepts/packages/_toc.yaml
42+
- include: /concepts/packages/_toc.yaml
4343
- title: "Security"
4444
section:
45-
- include: concepts/security/_toc.yaml
45+
- include: /concepts/security/_toc.yaml
4646
- title: "Sessions"
4747
section:
48-
- include: concepts/session/_toc.yaml
48+
- include: /concepts/session/_toc.yaml
4949
- title: "Source code"
5050
section:
51-
- include: concepts/source_code/_toc.yaml
51+
- include: /concepts/source_code/_toc.yaml
5252
- title: "User interface"
5353
section:
54-
- include: concepts/ui/_toc.yaml
54+
- include: /concepts/ui/_toc.yaml

concepts/accessibility/_toc.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
# team as reviewer.
88
toc:
99
- title: "Accessibility Framework"
10-
path: concepts/accessibility/accessibility_framework.md
10+
path: /concepts/accessibility/accessibility_framework.md
1111
- title: "Semantics"
12-
path: concepts/accessibility/semantics.md
12+
path: /concepts/accessibility/semantics.md
1313
- title: "Accessibility Focus"
14-
path: concepts/accessibility/accessibility-focus.md
14+
path: /concepts/accessibility/accessibility-focus.md
1515
- title: "Text-to-speech for accessibility"
16-
path: concepts/accessibility/tts.md
16+
path: /concepts/accessibility/tts.md

concepts/accessibility/accessibility-focus.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Other strategies exist and are expected to be implemented as the platform mature
2828

2929
Other assistive technologies may bennefit from the a11y focus, such as a switch access. This feature is not implemented yet.
3030

31-
[semantics]: concepts/accessibility/semantics.md
32-
[focus-chain]: development/graphics/scenic/concepts/focus_chain.md
31+
[semantics]: /concepts/accessibility/semantics.md
32+
[focus-chain]: /development/graphics/scenic/concepts/focus_chain.md
3333
[input-focus]: https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=95672
3434
[describable-nodes]: https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=96257

concepts/accessibility/accessibility_framework.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Accessibility manager code lives in
4646
## Settings
4747

4848
Accessibility settings will be managed through
49-
[SetUI](development/settings/introduction.md), which is responsible for
49+
[SetUI](/development/settings/introduction.md), which is responsible for
5050
storing settings locally and notifying the Accessibility Manager when settings
5151
change. This is done via the
5252
[fuchsia.settings.accessibility](/sdk/fidl/fuchsia.settings/accessibility.fidl)
@@ -77,7 +77,7 @@ For additional information see [Accessibility Semantics][semantics].
7777
## Accessibility View
7878

7979
The accessibility manager owns a view in the Fuchsia [view
80-
tree](development/graphics/scenic/concepts/view_ref.md). This view allows
80+
tree](/development/graphics/scenic/concepts/view_ref.md). This view allows
8181
accessibility to intercept gestures, change graphics, inject input, and
8282
participate in focus changes.
8383

@@ -133,4 +133,4 @@ Accessibility tests live in
133133
[a11yfocus]: https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=78637
134134
[highlights]: https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=78639
135135
[tts]: https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=78642
136-
[scenic]: concepts/ui/scenic/index.md
136+
[scenic]: /concepts/ui/scenic/index.md

concepts/accessibility/semantics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ to a given metric.
156156

157157
[flutter]: https://api.flutter.dev/flutter/widgets/Semantics-class.html
158158
[chromium]: https://source.chromium.org/chromium/chromium/src/+/master:ui/accessibility/ax_node_data.h
159-
[view]: development/graphics/scenic/concepts/view_ref.md
159+
[view]: /development/graphics/scenic/concepts/view_ref.md
160160
[a11yinput]: https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=78638
161161
[viewref]: https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.ui.views/view_ref.fidl
162162
[node]: https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.accessibility.semantics/node.fidl

concepts/components/_toc.yaml

+31-31
Original file line numberDiff line numberDiff line change
@@ -7,94 +7,94 @@
77
# team as reviewer.
88
toc:
99
- title: "Overview"
10-
path: concepts/components/v2
10+
path: /concepts/components/v2
1111
- title: "Introduction to components"
12-
path: concepts/components/v2/introduction.md
12+
path: /concepts/components/v2/introduction.md
1313
- title: "Component manager"
14-
path: concepts/components/v2/component_manager.md
14+
path: /concepts/components/v2/component_manager.md
1515
- title: "Component manifests"
16-
path: concepts/components/v2/component_manifests.md
16+
path: /concepts/components/v2/component_manifests.md
1717
- title: "Lifecycle"
18-
path: concepts/components/v2/lifecycle.md
18+
path: /concepts/components/v2/lifecycle.md
1919
- title: "Topology"
20-
path: concepts/components/v2/topology.md
20+
path: /concepts/components/v2/topology.md
2121
- title: "Identifiers"
22-
path: concepts/components/v2/identifiers.md
22+
path: /concepts/components/v2/identifiers.md
2323
- title: "Realms"
24-
path: concepts/components/v2/realms.md
24+
path: /concepts/components/v2/realms.md
2525
- title: "Environments"
26-
path: concepts/components/v2/environments.md
26+
path: /concepts/components/v2/environments.md
2727
- title: "Capabilities"
2828
section:
29-
- include: concepts/components/v2/capabilities/_toc.yaml
29+
- include: /concepts/components/v2/capabilities/_toc.yaml
3030
- title: "Using runners"
3131
section:
3232
- title: "ELF runner"
33-
path: concepts/components/v2/elf_runner.md
33+
path: /concepts/components/v2/elf_runner.md
3434
- title: "Diagnostics"
3535
section:
3636
- title: "Hub"
37-
path: concepts/components/v2/hub.md
37+
path: /concepts/components/v2/hub.md
3838
- title: "Lifecycle events"
3939
section:
4040
- title: "Overview"
41-
path: concepts/components/diagnostics/lifecycle_events/README.md
41+
path: /concepts/components/diagnostics/lifecycle_events/README.md
4242
- title: "Logs"
4343
section:
4444
- title: "Overview"
45-
path: concepts/components/diagnostics/logs/README.md
45+
path: /concepts/components/diagnostics/logs/README.md
4646
- title: "Attributing LogSink connections"
47-
path: concepts/components/diagnostics/logs/attribution.md
47+
path: /concepts/components/diagnostics/logs/attribution.md
4848
- title: "Internals"
4949
section:
5050
- title: "Component manifest design principles"
51-
path: contribute/governance/rfcs/0093_component_manifest_design_principles.md
51+
path: /contribute/governance/rfcs/0093_component_manifest_design_principles.md
5252
- title: "Analogies and Comparisons"
5353
section:
5454
- title: "Components vs. processes"
55-
path: concepts/components/v2/components_vs_processes.md
55+
path: /concepts/components/v2/components_vs_processes.md
5656
- title: "Object-Oriented Design for Components"
57-
path: concepts/components/v2/components_as_classes.md
57+
path: /concepts/components/v2/components_as_classes.md
5858
- title: "Legacy components"
5959
section:
6060
- title: "Overview"
61-
path: concepts/components/v1
61+
path: /concepts/components/v1
6262
- title: "Component manifests"
63-
path: concepts/components/v1/component_manifests.md
63+
path: /concepts/components/v1/component_manifests.md
6464
- title: "Hub"
65-
path: concepts/components/v1/hub.md
65+
path: /concepts/components/v1/hub.md
6666
- title: "sysmgr"
67-
path: concepts/components/v1/sysmgr.md
67+
path: /concepts/components/v1/sysmgr.md
6868
- title: "Test components"
69-
path: concepts/testing/v1_test_component.md
69+
path: /concepts/testing/v1_test_component.md
7070

7171
# TODO(fxbug.dev/60771)
7272
# - title: "Overview"
73-
# path: concepts/components/diagnostics/README.md
73+
# path: /concepts/components/diagnostics/README.md
7474

7575
# TODO(fxbug.dev/60763)
7676
# - title: "ArchiveAccessor"
77-
# path: concepts/components/diagnostics/accessor.md
77+
# path: /concepts/components/diagnostics/accessor.md
7878

7979
# TODO(fxbug.dev/60768)
8080
# - title: "Component Lifecycle"
81-
# path: concepts/components/diagnostics/lifecycle.md
81+
# path: /concepts/components/diagnostics/lifecycle.md
8282
# TODO(fxbug.dev/60767)
8383
# - title: "Overview"
84-
# path: concepts/components/diagnostics/inspect/README.md
84+
# path: /concepts/components/diagnostics/inspect/README.md
8585

8686
# TODO(fxbug.dev/60764)
8787
# - title: "Principles"
88-
# path: concepts/components/diagnostics/inspect/principles.md
88+
# path: /concepts/components/diagnostics/inspect/principles.md
8989

9090

9191
# TODO(fxbug.dev/60766)
9292
# - title: "Principles"
93-
# path: concepts/components/diagnostics/logs/principles.md
93+
# path: /concepts/components/diagnostics/logs/principles.md
9494

9595
# TODO(fxbug.dev/60767)
9696
# - title: "Severity"
97-
# path: concepts/components/diagnostics/logs/severity.md
97+
# path: /concepts/components/diagnostics/logs/severity.md
9898
# TODO(fxbug.dev/60772)
9999
# - title: "Triage & Detect"
100-
# path: concepts/components/diagnostics/triage.md
100+
# path: /concepts/components/diagnostics/triage.md

concepts/components/_v1_banner.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ Legacy components contain a [manifest][glossary.component manifest source] that
33
If you are still using legacy components, consider [migrating][migration] to
44
the modern component framework.
55

6-
[legacy-components]: concepts/components/v1/README.md
7-
[glossary.component manifest source]: glossary/README.md#component-manifest-source
8-
[migration]: development/components/v2/migration/README.md
6+
[legacy-components]: /concepts/components/v1/README.md
7+
[glossary.component manifest source]: /glossary/README.md#component-manifest-source
8+
[migration]: /development/components/v2/migration/README.md

concepts/components/_v2_banner.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ Note: This document pertains to modern components with a
33
The Fuchsia platform team is currently [migrating legacy components][migration]
44
to the modern component framework.
55

6-
[glossary.component manifest source]: glossary/README.md#component-manifest-source
7-
[migration]: contribute/open_projects/components/migration.md
6+
[glossary.component manifest source]: /glossary/README.md#component-manifest-source
7+
[migration]: /contribute/open_projects/components/migration.md

0 commit comments

Comments
 (0)