This repository contains the files used to generate GroupDocs.Viewer landing pages e.g. https://products.groupdocs.com/viewer/net/docx/
Install Hugo and related tools
npm i -g hugo-extended@0.101.0 postcss postcss-cli autoprefixer
- Make sure to add a record to your
.ssh\configfile
#aspose.github.com
Host aspose.github.com
HostName github.com
User git
IdentityFile ~/.ssh/<your-private-key>
-
Clone the theme to the
commonfoldergit submodule update --recursive --init -
Remove all the folders except
viewerin thecommon/contentfolder withfind './common/content' -mindepth 1 -type d -not -regex '^./common/content/viewer\(/.*\)?' -exec rm -rf {} +(bash)
-
Copy files from
content\viewerfolder tocommon\content\viewerwithcp -r ./content/viewer ./common/content/viewer -
Navigate to
commonfolder withcd common -
Execute
hugo server --config "./viewer-staging-config.toml" --disableFastRenderto build pages and start Hugo server
Commit your changes or create a pull request into master branch and GitHub actions will do the rest.