Skip to content

Commit

Permalink
Merge pull request #43 from davidecaruso/dismiss-cname
Browse files Browse the repository at this point in the history
Remove domain references
  • Loading branch information
davidecaruso committed Oct 5, 2023
2 parents 0de5619 + 3364807 commit 9e15525
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $ npm i shell.js
```

## Documentation
Visit [shelljs.io](https://shelljs.io).
Read the [documentation](https://davidecaruso.github.io/shell.js).

## Author
[Davide Caruso](https://about.me/davidecaruso)
Expand Down
1 change: 0 additions & 1 deletion docs/CNAME

This file was deleted.

29 changes: 12 additions & 17 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,19 +105,21 @@
plugins: [
function(hook, vm) {
hook.afterEach(function(html, next) {
var config = {
user: "guest",
host: "localhost",
typing: { ctor: Typed },
engine: randomEngine(),
responsive: true,
shadow: true
};

if (vm.route.path === "/") {
next(html);

function initCoverShell() {
document.getElementById("cover-shell").className = "";
let shell = Shell("#cover-shell", {
user: "guest",
host: "shelljs.io",
typing: { ctor: Typed },
engine: randomEngine(),
responsive: true,
shadow: true
});
var shell = Shell("#cover-shell", config);

shell.type([
"sudo -i",
Expand All @@ -138,14 +140,7 @@
next(html);
if (document.getElementById("notfound-shell")) {
setTimeout(function() {
Shell("#notfound-shell", {
user: "guest",
host: "shelljs.io",
typing: { ctor: Typed },
engine: randomEngine(),
responsive: true,
shadow: true
}).type([
Shell("#notfound-shell", config).type([
{
input: "curl -I '" + window.location.href + "'", output: function() {
return {
Expand All @@ -171,7 +166,7 @@
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/emoji.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code/dist/docsify-copy-code.min.js"></script>
<script>
if (/shelljs/.test(location.host)) {
if (/davidecaruso\.github\.io/.test(location.host)) {
var id = "G-5LLF114JSB"

// Google tag (gtag.js)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "4.3.3",
"description": "A JavaScript library to create HTML terminals in web pages.",
"author": "Davide Caruso <davide.caruso93@gmail.com>",
"homepage": "https://shelljs.io",
"homepage": "https://davidecaruso.github.io/shell.js",
"main": "lib/shell.js",
"license": "MIT",
"repository": "git+https://github.com/davidecaruso/shell.js.git",
Expand Down

0 comments on commit 9e15525

Please sign in to comment.