Skip to content

Commit

Permalink
Update doc to WiX v5
Browse files Browse the repository at this point in the history
Also fix up Docusaurus a bit
  • Loading branch information
robmen committed Mar 25, 2024
1 parent 892e6aa commit 447ca0b
Show file tree
Hide file tree
Showing 7 changed files with 568 additions and 62 deletions.
11 changes: 1 addition & 10 deletions src/Docusaurus/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,6 @@ const config = {
<a href="https://www.firegiant.com/?utm_source=wixtoolset.org&utm_medium=Display&utm_content=footer">
<img src="/img/firegiant.png" alt="FireGiant" />
</a>
`
},
{
html: `
<p class="footer_label">Member of the</p>
<a href="https://dotnetfoundation.org/">
<img src="/img/dotnetfoundation.png" alt=".NET Foundation" />
</a>
`
}
]
Expand Down Expand Up @@ -142,7 +133,7 @@ const config = {
'data-domain': "wixtoolset.org"
}
],

plugins: [require.resolve("@cmfcmf/docusaurus-search-local")],

webpack: {
Expand Down
12 changes: 6 additions & 6 deletions src/Docusaurus/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions src/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@

@echo Building web %_C%

:: Build and test tools

@echo Build and test tools
dotnet build FeedGenerator -c %_C% -nologo
dotnet build XmlDocToMarkdown\XmlDocToMarkdown.csproj -c %_C% -nologo -m -warnaserror -bl:%_L%\buildxmldoc.binlog || exit /b
dotnet test test\XsdToMarkdownTests\XsdToMarkdownTests.csproj -c %_C% -nologo -m -warnaserror -bl:%_L%\build.binlog || exit /b
echo.

:: Build bundle update feed

@echo Build bundle update feed
..\build\%_C%\FeedGenerator.exe WixAdditionalTools 4.0 feeds\wix-additional-tools-4-0.template Docusaurus\static\releases\feeds\ "%_T%" || exit /b
echo.

:: Build schema and API reference markdown

@echo Build schema and API reference markdown
dotnet build mkdoc\mkdoc.proj -c %_C% -nologo -m -warnaserror -bl:%_L%\mkdoc.binlog || exit /b
echo.

:: Publish dynamic web site

@echo Publish dynamic web site
dotnet publish Web\Web.csproj -c %_C% --output ..\build\deploy -nologo -m -warnaserror -bl:%_L%\publish.binlog || exit /b
echo.

:: Build static web site

@echo Build static web site
call npm --prefix Docusaurus run build -- --out-dir ..\..\build\deploy\wwwroot || exit /b
echo.

@popd
@endlocal
Loading

0 comments on commit 447ca0b

Please sign in to comment.