Coder Social home page Coder Social logo

analogrelay / vsweb-docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aspnet/vsweb-docs

0.0 2.0 0.0 3.56 MB

Showcase for Visual Studio web features

Home Page: http://vsweb.azurewebsites.net

C# 45.32% JavaScript 34.33% CSS 18.64% PowerShell 1.71%

vsweb-docs's Introduction

Visual Studio features for web developers

Build status

Deploy to Azure

Website: vsweb.azurewebsites.net/

Features

  • Uses CommonMark for rendering Markdown
  • Uses the folder structure to create the menu
  • Convension based file/folder structure
  • Each page has a link to Edit this page on GitHub
  • Everything is configurable from web.config
  • Semantic URLs
  • Each .md file can contain configuration
  • AppVeyor integration
    • Automatically validates any pull request
    • Checks for missing metadata
  • Theming support
  • Support for IE9 and all modern browsers
  • Responsive design to support all device types
  • Best-in-class performance (Page Speed, YSlow)
  • Best-in-class accessibility (WGAC, Section 508)
  • Search engine optimization
    • HTML 5 microdata
    • robots.txt
    • Sitemap.xml
    • Semantic markup
  • Social integration
    • Twitter cards support
    • OpenGraph support
    • Pinterest support
  • Environment integration
    • IE9+ pinned sites suppport
    • Windows live tile support
    • iOS icon support
    • Android icon support
    • Firefox web manifest support

Getting started

The website itself is really simple. It only consist of a single index.cshtml file. The entire site is built up around Markdown (.md) files located inside the pages directory by default.

Folder structure

The folder structure determines how the menu is constructed as well as the URLs to each page.

Folder structure

Each folder MUST have a file called index.md with the exception of folders starting with an underscore (example: /pages/_images/).

Metadata

Each .md file has a bit of metadata at the top that allows you to customize various aspects of the file.

<properties
	pageTitle="FTP"
	description="bla bla bla"
	slug="ftp"
    order="300"
	keywords="ftp, deploy"
/>

My markdown content goes here
  • pageTitle: The title of each page. Required
  • description: The description of each page. Required
  • slug: A Slug is what the URL should be. Must be lower cased. Required
  • order: Determins the sort order of the page in the menu. Optional
  • keywords: A comma separated list of keywords. 3 or more required

Screenshots/animated GIFs

To maintain a consistent look to all the screenshots/animated GIFs, please adhere to these Visual Studio settings:

Font: 12pt Consolas
Theme: Light

Also, please make sure to have a ~5 pixel padding when making an animated GIF from one of the editors, so the things you show aren't located all the way at the edges of the image, but about 5 pixels from the top and left.

The padding rule only applies to screenshots/animated GIFs taken inside the editors.

The width of any screenshot/animated GIF, make sure to keep them at a maximum of 600 pixels wide.

Validation

To help make sure that each pull request meets the requirements of the metadata, the validator helps guide the contributors to write valid .md files for the MarkSite instance.

When using AppVeyor, each pull requests is automatically being build and the validator will automatically fail the build in case the pull request isn't satisfying the validator.

vsweb-docs's People

Contributors

madskristensen avatar vkichline avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.