GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - loopbackio/loopback.io: LoopBack project site - now with documentation!

BranchesTags
Open more actions menu

Latest commit

 

History

3,411 Commits
3,411 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
_data
_data
 
 
_includes
_includes
 
 
_layouts
_layouts
 
 
api-explorer
api-explorer
 
 
blog
blog
 
 
contributing
contributing
 
 
css
css
 
 
dist
dist
 
 
doc
doc
 
 
examples
examples
 
 
fonts
fonts
 
 
getting-started
getting-started
 
 
images
images
 
 
js
js
 
 
pages
pages
 
 
resources
resources
 
 
scripts-pdf
scripts-pdf
 
 
search
search
 
 
users
users
 
 
.gitignore
.gitignore
 
 
.markdownlintrc
.markdownlintrc
 
 
.npmrc
.npmrc
 
 
.ruby-version
.ruby-version
 
 
404.md
404.md
 
 
CNAME
CNAME
 
 
CODEOWNERS
CODEOWNERS
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
Gemfile
Gemfile
 
 
Gemfile.lock
Gemfile.lock
 
 
ISSUE_TEMPLATE.md
ISSUE_TEMPLATE.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
_config.yml
_config.yml
 
 
contribute.html
contribute.html
 
 
favicon.ico
favicon.ico
 
 
footer-template.html
footer-template.html
 
 
getting-started-openapi-to-graphql.html
getting-started-openapi-to-graphql.html
 
 
getting-started.html
getting-started.html
 
 
index-lb3.html
index-lb3.html
 
 
index.html
index.html
 
 
install
install
 
 
navbar-template.html
navbar-template.html
 
 
openapi-to-graphql.html
openapi-to-graphql.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
posts.json
posts.json
 
 
renovate.json
renovate.json
 
 
resources.html
resources.html
 
 
sitemap.js
sitemap.js
 
 
update-blog.sh
update-blog.sh
 
 
update-community-readmes.sh
update-community-readmes.sh
 
 
update-lb4-docs.js
update-lb4-docs.js
 
 
update-readmes.sh
update-readmes.sh
 
 
what-our-users-say.html
what-our-users-say.html
 
 

Repository files navigation

loopback.io

LoopBack community site and documentation, hosted on http://loopback.io.

Setup

To preview the website locally:

  1. Install Ruby and Bundler if you don't have them already.

  2. Clone this repo (you might use the SSH URL instead of HTTPS).:

git clone https://github.com/loopbackio/loopback.io.git
  1. cd to the repository directory and run the following command:
cd loopback.io
bundle install

You may run into errors during bundle install due to compilation failure of native gems. One such error is:

An error occurred while installing eventmachine (1.2.7), and Bundler cannot continue.

To rectify these errors, install the necessary dependencies that provides the missing compilers (g++) and devel files (Ruby). For Fedora 44:

sudo dnf install gcc-c++ ruby-devel

Run and view site locally

Run Jekyll using the following command:

npm start

Then, load http://localhost:4001/ on your browser.

Formatting

Jekyll uses a variant of Markdown known as Kramdown.

Jekyll uses the Liquid template engine for templating.

Incorporating external READMEs and Blog

The documentation incorporates README files from a number of LoopBack example repositories, and blog posts from loopbackio/loopback-blog. The CI pipeline will update these files automatically. However, updating these on a local machine requires a few extra steps:

npm run fetch-readmes
npm run fetch-blog

From there, the README markdown files are incorporated into documentation articles using the standard Jekyll "include" syntax as follows (for example):

---
title: "Angular example app"
lang: en
layout: readme
source: loopback-example-angular
keywords: LoopBack
tags:
sidebar: lb2_sidebar
permalink: /doc/en/lb2/Angular-example-app.html
summary: A brief tutorial on creating an Angular client app using the Loopback AngularJS SDK.
---

{% include readmes/loopback-example-angular.md %}

Incorporating updates from loopback-next

LoopBack 4 docs are managed separately and imported via the @loopback/docs NPM package (stored in: loopback-next/docs). These changes are pulled by the build scripts and overrides any changes made to pages/en/lb4. Hence, do not submit changes for that directory here. Instead, submit a PR to loopback-next.

Updating these files are done automatically in the CI pipeline and on dev machines viaa postinstall NPM script hook:

npm ci # This should be enough to sync LB4 docs
npm run postinstall # Alternatively...

Linting Readmes

There is an additional that "lints" the readmes for markdown formatting problems. It is currently "experimental", see this issue for more info.

You can run this script thus:

npm run lint-readmes

Contributing

This project uses DCO. Be sure to sign off your commits using the -s flag or adding Signed-off-By: Name<Email> in the commit message.

Example

git commit -s -m "feat: my commit message"

Also see the Contributing to LoopBack documentation to get you started.

License

This repository is provided under the MIT License.

About

LoopBack project site - now with documentation!

loopback.io

Topics

hacktoberfest

Resources

Readme
License

Code of conduct

Code of conduct

Security policy

Security policy
Activity
Custom properties

Stars

276 stars

Watchers

49 watching

Forks

382 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.