Skip to content

groupdocs-viewer/GroupDocs.Viewer-Products

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GroupDocs.Viewer Landing Pages

This repository contains the files used to generate GroupDocs.Viewer landing pages e.g. https://products.groupdocs.com/viewer/net/docx/

Prerequisites

Install Hugo and related tools

npm i -g hugo-extended@0.101.0 postcss postcss-cli autoprefixer

Clonse the theme

  1. Make sure to add a record to your .ssh\config file
#aspose.github.com
    Host aspose.github.com
    HostName github.com
    User git
    IdentityFile ~/.ssh/<your-private-key>
  1. Clone the theme to the common folder git submodule update --recursive --init

  2. Remove all the folders except viewer in the common/content folder with find './common/content' -mindepth 1 -type d -not -regex '^./common/content/viewer\(/.*\)?' -exec rm -rf {} + (bash)

Run

  • Copy files from content\viewer folder to common\content\viewer with cp -r ./content/viewer ./common/content/viewer

  • Navigate to common folder with cd common

  • Execute hugo server --config "./viewer-staging-config.toml" --disableFastRender to build pages and start Hugo server

Publishing

Commit your changes or create a pull request into master branch and GitHub actions will do the rest.