diff --git a/.github/workflows/auto-regenerate.yml b/.github/workflows/auto-regenerate.yml index 105ab2c1..60300118 100644 --- a/.github/workflows/auto-regenerate.yml +++ b/.github/workflows/auto-regenerate.yml @@ -19,11 +19,11 @@ jobs: coverage: "pcov" php-version: "8.4" - - name: "Check out salathe/phpdoc-base" + - name: "Check out php/doc-base" uses: "actions/checkout@v6" with: - path: "generator/docs/salathe/phpdoc-base" - repository: "salathe/phpdoc-base" + path: "generator/docs/php/doc-base" + repository: "php/doc-base" fetch-depth: 0 - name: "Check out php/doc-en" diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index de620c92..3a7c8a53 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -30,12 +30,12 @@ jobs: path: "generator/docs" key: php-docs-${{ steps.date.outputs.date }} - - name: "Check out salathe/phpdoc-base" + - name: "Check out php/doc-base" uses: "actions/checkout@v6" if: steps.cache-php-docs.outputs.cache-hit != 'true' with: - path: "generator/docs/salathe/phpdoc-base" - repository: "salathe/phpdoc-base" + path: "generator/docs/php/doc-base" + repository: "php/doc-base" fetch-depth: 0 - name: "Check out php/doc-en" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c9c11075..c0d6700d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -96,7 +96,7 @@ $ generator/safe.php download-docs This will download the PHP documentation from the official repository. -https://github.com/salathe/phpdoc-base +https://github.com/php/doc-base https://github.com/php/doc-en diff --git a/generator/src/Commands/DownloadDocsCommand.php b/generator/src/Commands/DownloadDocsCommand.php index da8d2f9b..40d93a7a 100644 --- a/generator/src/Commands/DownloadDocsCommand.php +++ b/generator/src/Commands/DownloadDocsCommand.php @@ -40,7 +40,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $this->filesystem->remove(PathHelper::docsDirectory()); $this->filesystem->mkdir(PathHelper::docsDirectory()); - $this->clone($output, 'salathe/phpdoc-base'); + $this->clone($output, 'php/doc-base'); $this->clone($output, 'php/doc-en'); return self::SUCCESS; diff --git a/generator/src/XmlDocParser/DocPage.php b/generator/src/XmlDocParser/DocPage.php index dfa13154..cb49210d 100644 --- a/generator/src/XmlDocParser/DocPage.php +++ b/generator/src/XmlDocParser/DocPage.php @@ -187,7 +187,7 @@ public static function buildEntities(): void $file1 = \file_get_contents(PathHelper::docsDirectory() . '/php/doc-en/language-defs.ent') ?: ''; $file2 = \file_get_contents(PathHelper::docsDirectory() . '/php/doc-en/language-snippets.ent') ?: ''; $file3 = \file_get_contents(PathHelper::docsDirectory() . '/php/doc-en/extensions.ent') ?: ''; - $file4 = \file_get_contents(PathHelper::docsDirectory() . '/salathe/phpdoc-base/entities/global.ent') ?: ''; + $file4 = \file_get_contents(PathHelper::docsDirectory() . '/php/doc-base/entities/global.ent') ?: ''; $completeFile = $file1 . self::extractXmlHeader($file2) . self::extractXmlHeader($file3) . $file4;