/NSudo

Series of System Administration Tools

Primary LanguageC++OtherNOASSERTION

Logo NSudo - System Administration Toolkit

AppVeyor CI Latest Version Latest Release Downloads Total Downloads License 996.icu FOSSA Status

This is the source code repository of NSudo. If you wonder to visit the NSudo official website, download NSudo or read the NSudo documents etc, please visit https://m2team.github.io/NSudo.

This readme file will be the developer oriented document because this it is under the source code repository.

Code of Conduct

Please read CODE_OF_CONDUCT.md.

Contributing to NSudo

How to become a contributor

  • Direct contributions
  • Feedback suggestions and bugs.
    • We use GitHub issues to track bugs and features.
    • For bugs and general issues please file a new issue.

Code contribution guidelines

Prerequisites

  • Visual Studio 2017 version 15.9 or later.
  • Windows 10 version 1507 SDK or later.
    • You need to change the Windows SDK version in the project properties if the version of Windows 10 SDK I used isn't installed on your PC.
    • You also need install ARM and ARM64 components when you installing the Windows 10 Version 1703 SDK or later.
  • (Optional but recommend) If you want to reduce the release mode binaries size for x86, x64 and ARM64 port of NSudo, you can use VC-LTL.

Code style and conventions

For all languages respect the .editorconfig file specified in the source tree. Many IDEs natively support this or can with a plugin.

Copying files from other projects

The following rules must be followed for PRs that include files from another project:

  • The license of the file is permissive.
  • The license of the file is left intact.
  • The contribution is correctly attributed in the Readme file in the repository, as needed.

How to update documents.

Refer to M2TeamArchived#29.

To build new docs, you'll need to have Node.js and Yarn installed on your system, and run:

# Install dependencies
yarn

# Run `build` in package.json
yarn build

in docs-src/.

Docs will be built into docs, where GitHub Pages treated as site root. So be sure to commit docs changes.

CI/CD is not included in this PR, so manual build is required after every docs update. yarn dev runs a local hot-reload-enabled docs server for easier debugging.

In the long run, using some 3rd-party static hosting like Netlify would be easier to release docs.

Docs engine is based on VuePress.