-
Notifications
You must be signed in to change notification settings - Fork 293
Getting Started
To be able to edit or contribute into the Telerik UI for ASP.NET AJAX documentation you should:
- have a git tool of your choice, so to clone, pull and push changes (e.g., GitBash, GitHub for Windows, SourceTree, etc.);
- install Ruby and the Ruby DevKit (make sure the installation instructions for the DevKit are followed properly);
- install the Bundler gem for Ruby.
Once the above requirements are fulfilled, you can generate a static web site from the Telerik UI for ASP.NET AJAX documentation's source code and browse it locally by using the following commands:
Note: Step 1 and 2 are needed only for the first time you run the local documentation. If Jekyll server has stopped—re-run it by using the
Jekyll serve
command.
-
Clone the repository
git clone [email protected]:telerik/ajax-docs.git
; -
Run
bundle install
; -
Edit
_config.yml
file with the desiredhost
andport
properties: ## The application virtual path host: "localhost" port: "8080" baseurl: "/aspnet-ajax" -
Run
jekyll serve
-
Open "http://[host]:[port]/aspnet-ajax/introduction.html" in your browser
[host]
and[port]
can be additionally configured in the_config.yml
file. By default, these properties should be configured with localhost on port 8080, e.g.,http://localhost:8080/aspnet-ajax/introduction.html
.
The content files are written in Markdown, based on the specification followed for Jekyll. You can read more about it in daringfireball.net/projects/markdown/.
Some elements, like notes, captions, tabbed code blocks, etc., are rendered via custom Jekyll plugins. Exact specification how to use them is available in Markdown Syntax.
Important: Always pull with re-base
git pull --rebase origin master
, before you push commits to the remotegit push origin master
.
- Home
- Getting Started
- Deploying Documentation on IIS
- Git and GitHub Workflow
- Handling Redirects (link to the docs-seed wiki)
- Markdown Syntax (link to the docs-seed wiki)
- Markdown Nesting (link to the docs-seed wiki)
- Using Templates (link to the docs-seed wiki)
- Using Git and Git Bash
- Faster Jekyll Build via generate_exclude.rb Script
- Using Helper Tools
- Troubleshooting
- Use VS Diff tool with Git and SourceTree