瀏覽代碼

Everywhere: Update references from ReadMe.md => README.md

Andreas Kling 4 年之前
父節點
當前提交
251018676f

+ 2 - 2
Base/usr/share/man/man3/basename.md

@@ -34,8 +34,8 @@ buffer while using the returned string.
 
 int main()
 {
-    char path1[] = "/home/anon/ReadMe.md";
-    dbgln("{}", basename(path1)); // should be "ReadMe.md"
+    char path1[] = "/home/anon/README.md";
+    dbgln("{}", basename(path1)); // should be "README.md"
 
     char path2[] = "foo/bar/";
     dbgln("{}", basename(path2)); // should be "bar"

+ 1 - 1
Base/usr/share/man/man3/dirname.md

@@ -35,7 +35,7 @@ buffer while using the returned string.
 
 int main()
 {
-    char path1[] = "/home/anon/ReadMe.md";
+    char path1[] = "/home/anon/README.md";
     dbgln("{}", dirname(path1)); // should be "/home/anon"
 
     char path2[] = "foo/bar/";

+ 1 - 1
Meta/Lagom/Fuzzers/FuzzilliJsInstructions.md

@@ -2,7 +2,7 @@
 
 1. Download a copy of the Fuzzilli repo from https://github.com/googleprojectzero/fuzzilli
 2. Install Swift and make sure it's in your path environment variable.
-3. Build FuzzilliJs as you would the other fuzzers. [See README.md in the parent folder.](https://github.com/SerenityOS/serenity/blob/master/Meta/Lagom/ReadMe.md)
+3. Build FuzzilliJs as you would the other fuzzers. [See README.md in the parent folder.](https://github.com/SerenityOS/serenity/blob/master/Meta/Lagom/README.md)
 4. Apply the add-serenity-support-to-fuzzilli.patch patch file to the Fuzzilli root directory. ```patch -p1 < /path/to/add-serenity-support-to-fuzzilli.patch```
 5. Build Fuzzilli with ```swift build -c release```
 6. Run Fuzzilli with ```swift run -c release FuzzilliCli --profile=serenity /path/to/FuzzilliJs```. See ```swift run FuzzilliCli --help``` for options.

+ 1 - 1
Meta/build-root-filesystem.sh

@@ -96,7 +96,7 @@ mkdir -p mnt/home/anon
 mkdir -p mnt/home/anon/Desktop
 mkdir -p mnt/home/anon/Downloads
 mkdir -p mnt/home/nona
-cp "$SERENITY_ROOT"/ReadMe.md mnt/home/anon/
+cp "$SERENITY_ROOT"/README.md mnt/home/anon/
 cp -r "$SERENITY_ROOT"/Userland/Libraries/LibJS/Tests mnt/home/anon/js-tests
 cp -r "$SERENITY_ROOT"/Userland/Libraries/LibWeb/Tests mnt/home/anon/web-tests
 chmod 700 mnt/root

+ 1 - 1
Meta/lint-ports.py

@@ -14,7 +14,7 @@ IGNORE_FILES = {
     PORT_TABLE_FILE,
     'build_all.sh',
     'build_installed.sh',
-    'ReadMe.md'
+    'README.md'
 }
 
 

+ 2 - 2
Userland/Applications/Serendipity/SerendipityWidget.cpp

@@ -133,14 +133,14 @@ void SerendipityWidget::open_and_parse_tips_file()
 
 void SerendipityWidget::open_and_parse_readme_file()
 {
-    auto file = Core::File::construct("/home/anon/ReadMe.md");
+    auto file = Core::File::construct("/home/anon/README.md");
     if (!file->open(Core::IODevice::ReadOnly))
         return;
 
     auto document = Markdown::Document::parse(file->read_all());
     if (document) {
         auto html = document->render_to_html();
-        m_web_view->load_html(html, URL::create_with_file_protocol("/home/anon/ReadMe.md"));
+        m_web_view->load_html(html, URL::create_with_file_protocol("/home/anon/README.md"));
     }
 }