Skip to content

Commit f97406d

Browse files
committed
implementing method for copying the resulting build files (and source svg's) to /docs/dist folder allowing them to be used in GitHub page (see #394)
1 parent 3544e15 commit f97406d

574 files changed

Lines changed: 24228 additions & 7 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

devicon.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/js/script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ var devicon = angular.module('devicon', ['ngSanitize', 'ngAnimate']);
88

99
devicon.controller('IconListCtrl', function($scope, $http, $compile) {
1010

11-
var baseUrl = window.location.origin;
11+
var baseUrl = window.location.origin + '/dist';
1212

13-
// Get devicon.json
13+
// Get devicon.json
1414
$http.get(baseUrl + '/devicon.json').success(function(data) {
1515

1616
/*

docs/dist/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# About `/dist`
2+
3+
This folder contains copied versions of `fonts`, `stylesheets` and `svg` by the root directory of this repository.
4+
It's copied by execution of the custom gulp command:
5+
```gulp
6+
gulp publishDocs
7+
```
8+
9+
This action is run via a GitHub workflow step in `build_icons.yml`
10+
11+
Those copied results in this `dist` folder are required for showing a public available GitHub page which
12+
is served via the `/docs` directory (where our source is stored outside the `/docs` directory).

0 commit comments

Comments
 (0)