GithubHelp home page GithubHelp logo

lencioni / typescript-wiki Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoft/typescript-wiki

1.0 2.0 0.0 5.16 MB

A repository to make changes to the TypeScript Wiki on GitHub

Home Page: https://github.com/Microsoft/TypeScript/wiki

License: Creative Commons Attribution 4.0 International

JavaScript 100.00%

typescript-wiki's Introduction

The TypeScript wiki

This repo is the source of truth for the GitHub wiki, PRs to this repo are automatically merged into the auto-generated GitHub repo for the wiki. This is done in a GitHub Action in .github/workflows/sync.yml.

The wiki root is Home.md.

You can run this locally if you have ruby installed via:

# Install the deps
gem install gollum

# Start the server
gollum

Then you can open: http://localhost:4567

Things to remember:

  • Gollum is a bit of a nightmare for testing, my current technique is:

    # before
    git branch -b thing_i_am_working_on
    
    # to iterate, amend the commit and re-run gollum against that bit of git
    git add .; git commit --amend --no-edit --no-verify; gollum --ref thing_i_am_working_on
  • Wikis don't support nesting, so filenames have to get a bit wild

    - compiler/testing/fourslash.md
    + compiler-testing-fourslash.md
  • You can use a custom link syntax for references to TypeScript code which will be looked up at deploy time:

    link to [`runFourSlashTest`][0]
    
    [0]: <src/harness/fourslash.ts - function runFourSlashTest(>
    

    Will look at the file src/harness/fourslash.ts in microsoft/TypeScript to find the line of code function runFourSlashTest and provide a direct link in the wiki. You can audit them via the script npm run lint.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Legal Notices

Microsoft and any contributors grant you a license to the Microsoft documentation and other content in this repository under the Creative Commons Attribution 4.0 International Public License, see the LICENSE file, and grant you a license to any code in the repository under the MIT License, see the LICENSE-CODE file.

Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries. The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks. Microsoft's general trademark guidelines can be found at http://go.microsoft.com/fwlink/?LinkID=254653.

Privacy information can be found at https://privacy.microsoft.com/en-us/

Microsoft and any contributors reserve all other rights, whether under their respective copyrights, patents, or trademarks, whether by implication, estoppel or otherwise.

typescript-wiki's People

Contributors

danielrosenwasser avatar mhegazy avatar ahejlsberg avatar ryancavanaugh avatar orta avatar sandersn avatar weswigham avatar yuit avatar amcasey avatar billti avatar sophiajt avatar vladima avatar paulvanbrenk avatar danquirk avatar aozgaa avatar zhengbli avatar cyrusnajmabadi avatar nycdotnet avatar jramsay avatar herringtondarkholme avatar uniqueiniquity avatar styfle avatar samb avatar jsonfreeman avatar holgerjeromin avatar calebegg avatar chai2010 avatar caesarsol avatar typescript-bot avatar shaohaolin avatar

Stargazers

Roman 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.