Telerik Documentation Infrastructure
Перейти к файлу
imtodor 447f8de7e7 feat: Adding product to the title. 2018-10-19 10:21:14 +03:00
.github/ISSUE_TEMPLATE Update issue templates 2018-07-27 15:40:13 +03:00
_assets fix: Blurred code-snippets in some PCs in Chrome. 2018-10-11 10:23:46 +03:00
_common/root feat: Search added. 2018-06-13 16:14:22 +03:00
_data chore: Adding Silverlight product id 2018-08-15 15:19:01 +03:00
_includes feat: Extending slug tag to support variables of template type 2018-10-17 15:10:47 +03:00
_layouts feat: Adding product to the title. 2018-10-19 10:21:14 +03:00
_plugins feat: Extending slug tag to support variables of template type 2018-10-17 15:10:47 +03:00
_templates Jekyll added 2018-02-20 16:38:41 +02:00
docs-watcher fix: Fixed syncronization between docker and host of files and folders with whitespace 2018-06-27 15:03:40 +03:00
fonts fix: Adding API related fonts 2018-09-03 16:01:18 +03:00
styles chore: Moving the loading indicator styles 2018-09-26 16:40:20 +03:00
.contentignore chore: Updating ignoring files 2018-09-05 18:06:34 +03:00
.dockerignore feat: Syncronization between host machine and Docker container added. 2018-06-26 14:02:24 +03:00
.editorconfig Jekyll added 2018-02-20 16:38:41 +02:00
.gitignore chore: Updating ignoring files 2018-09-05 18:06:34 +03:00
.ruby-version Jekyll added 2018-02-20 16:38:41 +02:00
Dockerfile feat: Adding build file for docker 2018-07-19 14:34:54 +03:00
Gemfile feat: Sitemap generation added. 2018-09-03 14:33:39 +03:00
Gemfile.lock feat: Sitemap generation added. 2018-09-03 14:33:39 +03:00
README.md chore: Updating readme 2018-09-07 18:14:00 +03:00
bs-config.js Jekyll added 2018-02-20 16:38:41 +02:00
build-docs.sh chore: Uniting rm commands 2018-10-15 17:48:37 +03:00
copy_content.sh fix: Variable init 2018-06-07 10:59:52 +03:00
copy_local.sh chore: Fixing robocopy command syntax 2018-08-28 17:38:31 +03:00
exclude_dirs.txt chore: Fixing robocopy command syntax 2018-08-28 17:38:31 +03:00
exclude_files.txt feat: Copying site repo to content enable local build 2018-08-28 15:15:05 +03:00
favicon.ico Jekyll added 2018-02-20 16:38:41 +02:00
install-npm.sh Jekyll added 2018-02-20 16:38:41 +02:00
robots.txt feat: Sitemap generation added. 2018-09-03 14:33:39 +03:00
search.html fix: Remove search results page from sitemap 2018-09-07 17:46:13 +03:00
start-docs.sh chore: Uniting rm commands 2018-10-15 17:48:37 +03:00
watch.sh feat: Syncronization between host machine and Docker container added. 2018-06-26 14:02:24 +03:00

README.md

docs-seed repo

Contains the documentation site implementation.

Local Setup

This section describes the best practices about what and how should be done in order to run the documentation locally.

Prerequisites

  • Install Docker (Community Edititon(CE) is enough) - please use the official Docker installation guide. Accept the default installation instructions (use Linux containers, etc.)
  • Pull the repo to which you want to contribute (we will refer to that repo later as 'MY-REPO')

Instructions

  • Clone the current repo
git clone git@github.com:telerik/docs-seed.git
  • Go to the directory in which you've pulled it (e.g. D:\Work\docs-seed)
  • Open a terminal of your choice (e.g. gitBash)
  • Run the following command by passing the MY-REPO path:
sh copy_local.sh "D:\Work\xaml-docs"
  • Go to the MY-REPO directory and execute the following bash command in the root folder again (where the Dockerfile is located)
sh start-docs.sh

In case you want to add an additional config.yml file, pass it to the above command as follows:

sh start-docs.sh _silverlight.yml
  • This is it! You can find the documentation site on server address which is written in the terminal: http://0.0.0.0:4000/. If you can't open the previous URL, replace the '0.0.0.0' with 'localhost' - http://localhost:4000.

For example, for WPF documentation this would be: http://0.0.0.0:4000/devtools/wpf/

If you want to stop the web site and the container in which it has been served, navigate to the terminal in which you've executed the previous command and press 'CTRL+C'.

LiveSync

To be able to monitor the changes you are making on the built documentation, execute the following command in a new terminal in the root directory of the site:

sh watch.sh

Prerequisite: If you haven't yet, please install Node.js.