Update branch name to main (#30877)

This commit is contained in:
Alex Touchet 2023-12-16 01:32:20 -08:00 committed by GitHub
parent ccf0b739df
commit e4aed3d06a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 19 additions and 19 deletions

View file

@ -27,9 +27,9 @@ on how to start working on Servo.
## Pull request checklist
- Branch from the master branch and, if needed, rebase to the current master
branch before submitting your pull request. If it doesn't merge cleanly with
master you may be asked to rebase your changes.
- Branch from the main branch and, if needed, rebase to the current main branch
before submitting your pull request. If it doesn't merge cleanly with main
you may be asked to rebase your changes.
- Commits should be as small as possible, while ensuring that each commit is
correct independently (i.e., each commit should compile and pass tests).
@ -74,5 +74,5 @@ Servo contributors frequent the [Servo Zulip chat](https://servo.zulipchat.com/)
## Technical Steering Committee
Technical oversight of the Servo Project is provided by the
[Technical Steering Committee](https://github.com/servo/project/blob/master/governance/tsc/README.md).
[Technical Steering Committee](https://github.com/servo/project/blob/main/governance/tsc/README.md).

View file

@ -78,7 +78,7 @@ The examples below will use Unix, but the same applies to Windows.
Servo's build system uses rustup.rs to automatically download a Rust compiler.
This is a specific version of Rust Nightly determined by the
[`rust-toolchain.toml`](https://github.com/servo/servo/blob/master/rust-toolchain.toml) file.
[`rust-toolchain.toml`](https://github.com/servo/servo/blob/main/rust-toolchain.toml) file.
### Normal build

View file

@ -134,7 +134,7 @@ or a custom attribute `#[dom_struct]` which implies it.
Let's look at [Servo's implementation][document-rs] of the DOM's
[`Document`][document-mdn] interface:
[document-rs]: https://github.com/servo/servo/blob/master/components/script/dom/document.rs
[document-rs]: https://github.com/servo/servo/blob/main/components/script/dom/document.rs
[document-mdn]: https://developer.mozilla.org/en-US/docs/Web/API/document
```rust

View file

@ -3,4 +3,4 @@ servo-style
Style system for Servo, using [rust-cssparser](https://github.com/servo/rust-cssparser) for parsing.
* [Documentation](https://github.com/servo/servo/blob/master/docs/components/style.md).
* [Documentation](https://github.com/servo/servo/blob/main/docs/components/style.md).

View file

@ -357,7 +357,7 @@ In some cases, extensive tests for the feature you're working on already exist u
- Make a release build
- run `./mach test-wpt --release --log-raw=/path/to/some/logfile`
- run [`update-wpt` on it](https://github.com/servo/servo/blob/master/tests/wpt/README.md#updating-test-expectations)
- run [`update-wpt` on it](https://github.com/servo/servo/blob/main/tests/wpt/README.md#updating-test-expectations)
This may create a new commit with changes to expectation ini files. If there are lots of changes,
it's likely that your feature had tests in wpt already.

View file

@ -148,6 +148,6 @@ that you didn't find it here so it can be added :)
[selectors-rule]: https://doc.servo.org/style/stylist/struct.Rule.html
[per-pseudo-selectormap]: https://doc.servo.org/style/selector_parser/struct.PerPseudoElementMap.html
[per-origin-selectormap]: https://doc.servo.org/style/stylist/struct.PerOriginSelectorMap.html
[docs-pipeline]: https://github.com/servo/servo/blob/master/docs/glossary.md#pipeline
[docs-pipeline]: https://github.com/servo/servo/blob/main/docs/glossary.md#pipeline
[properties-module]: https://doc.servo.org/style/properties/index.html
[properties-cascade-fn]: https://doc.servo.org/style/properties/fn.cascade.html

View file

@ -1,6 +1,6 @@
[doc.servo.org](https://doc.servo.org)
[doc.servo.org](https://doc.servo.org/)
=====================================
The Servo documentation.
This is generated automatically at every push to the `master` branch
of [Servos repository](https://github.com/servo/servo/).
This is generated automatically at every push to the `main` branch of
[Servos repository](https://github.com/servo/servo).

View file

@ -1,4 +1,4 @@
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
@ -28,7 +28,7 @@
<div class="row">
<div class="col-sm-12">
<h1> Servo Layout Viewer </h1>
<p> Check the <a href="https://github.com/servo/servo/blob/master/etc/layout_viewer/README.md">README</a> for instructions.</p>
<p> Check the <a href="https://github.com/servo/servo/blob/main/etc/layout_viewer/README">README</a> for instructions.</p>
</div>
</div>
<div class="row">

View file

@ -1,4 +1,4 @@
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
@ -31,7 +31,7 @@
<p>
Check the
<a
href="https://github.com/servo/servo/blob/master/etc/layout_viewer/README.md"
href="https://github.com/servo/servo/blob/main/etc/layout_viewer/README"
>README</a
>
for instructions.

View file

@ -13,9 +13,9 @@
# output a [processed profile]. Based largely on [this script] and
# [this documentation].
#
# [processed profile]: https://github.com/firefox-devtools/profiler/blob/master/docs-developer/processed-profile-format.md
# [this script]: https://github.com/firefox-devtools/profiler/blob/master/src/profile-logic/import/linux-perf.js
# [this documentation]: https://github.com/firefox-devtools/profiler/blob/master/src/types/profile.js
# [processed profile]: https://github.com/firefox-devtools/profiler/blob/main/docs-developer/processed-profile-format.md
# [this script]: https://github.com/firefox-devtools/profiler/blob/main/src/profile-logic/import/linux-perf.js
# [this documentation]: https://github.com/firefox-devtools/profiler/blob/main/src/types/profile.js
from collections import defaultdict
import json