GithubHelp home page GithubHelp logo

kevintcoughlin / oufr-dev-docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoftdocs/oufr-dev-docs

1.0 1.0 0.0 2.32 MB

License: Creative Commons Attribution 4.0 International

PowerShell 2.75% TypeScript 92.13% HTML 5.11%

oufr-dev-docs's Introduction

Build Status

Release Status

Microsoft Open Source Code of Conduct

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.


oufr-dev-docs - Fabric docs repository

This repository is setup in a way so that the business logic of generating the documentation files is separated from the actually generated files for the purpose of keeping a clean git history and relative to the changes that will occur daily for the docs part and only occasionally for the implementation code part. This is achieved by keeping these two concerns on different branches. master branch holds all the business logic and staging with live branches are auto updated in parallel by a scheduled pipeline with the files generated by using the code on the master branch.

In order to make changes to the files generation logic, first step is to setup the environment

Local development setup

  1. Clone the repo using the following command.

    git clone https://github.com/MicrosoftDocs/oufr-dev-docs.git
    
  2. Install the main dependencies for the project to run.

    npm install
    
  3. Install the latest versions of office-ui-fabric-react and @uifabric/fabric-website.
    Note: this are not part of main dependency install run because we want the latest versions in the pipeline to generate most up to date docs. DO NOT COMMIT the changes in this step done to package.json and package-lock.json files.

    npm run install-deps
    
  4. Run the initial build command which is necessary for the next step.

    npm run build
    
  5. Following step needs to be run only once when starting local developer work. This will download all api.json files and save them in the input folder that is not tracked by git so it does not need to be committed during development.

    npm run download-api-files
    

Local development flow

After running these steps you are ready to go and make changes with the business logic and run only one command (with one exception described below) every time when you want to verify your changes:

npm run local

Exception: in case you make changes to the logic of downloading the api.json files located here you will need to rerun steps 4 and 5 from the setup above and then npm run local.

oufr-dev-docs's People

Contributors

vitalius1 avatar natalieethell avatar iclanton avatar supernova-eng avatar herohua avatar

Stargazers

Kevin Coughlin avatar

Watchers

James Cloos 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.