Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: updated README file to reflect template changes #258

Merged
merged 1 commit into from
Oct 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 38 additions & 12 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,23 +1,48 @@
##############
edX Bootstrap
##############

.. image:: https://badge.fury.io/js/%40edx%2Fedx-bootstrap.svg
:target: https://badge.fury.io/js/%40edx%2Fedx-bootstrap
.. highlight:: css
=============
edX Bootstrap
=============

********
Purpose
********

This library is an extension of `Bootstrap 4 <http://getbootstrap.com>`_
for use with edX and openEdX.

Installation
------------
=============

Using npm::

npm install --save @edx/edx-bootstrap

Cloning and Startup
===================

.. code-block::


1. Clone your new repo:

``git clone https://github.com/openedx/edx-bootstrap.git``

2. Use node v18.x.

The current version of the micro-frontend build scripts support node 18.
Using other major versions of node *may* work, but this is unsupported. For
convenience, this repository includes an .nvmrc file to help in setting the
correct node version via `nvm <https://github.com/nvm-sh/nvm>`_.

3. Install npm dependencies:

``cd edx-bootstrap && npm ci``

Usage
-----
=====

Add the following import in your project's base scss file::

Expand All @@ -38,7 +63,7 @@ Alternatively, you can download this repo and use one of the compiled outputs:
- ``dist/core/core.css`` (edX bootstrap & extensions only)

Theming
-------
=======

The content of a `theme.scss` file::

Expand Down Expand Up @@ -66,29 +91,30 @@ and make changes. Then include it before you include edx-bootstrap::
@import "overrides";

Getting Help
------------
============

If you’re having trouble, you can ask in the front-end channel on Slack or contact the Frontend Working Group:

- `#front-end <https://openedx.slack.com/messages/C0EUBSV7D>`_
- `#frontend-working-group <https://openedx.slack.com/messages/C02BMP2RD5Y>`_

License
-------
=======

The code in this repository uses the Apache 2.0 license unless otherwise noted.
Please see the `LICENSE file <https://github.com/openedx/edx-bootstrap/blob/master/LICENSE>`_
for details.

Documentation
-------------
=============

Documentation details can be found in the `docs index.rst`_.

.. _docs index.rst: docs/index.rst


How to Contribute
-----------------
=================

Contributions are very welcome, but for legal reasons, you must submit a
signed `individual contributor agreement`_ before we can accept your
Expand All @@ -98,7 +124,7 @@ will make your contribution more likely to be accepted.


Reporting Security Issues
-------------------------
=========================

Please do not report security issues in public. Please email
[email protected].
Expand Down