diff --git a/.gitignore b/.gitignore index 0a712873..57510a2b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1 @@ -test/dest -*.gem -pkg/ -*.swp -*~ _site/ -.bundle/ -.DS_Store -bbin/ -gh-pages/ -site/_site/ -coverage -.ruby-version -.sass-cache diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 00000000..35cee72d --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +2.4.3 diff --git a/_config.yml b/_config.yml index 1396b72f..5e9b5ff2 100644 --- a/_config.yml +++ b/_config.yml @@ -1,6 +1,8 @@ title: The Lounge — Self-hosted web IRC client description: "The official website for The Lounge, the self-hosted web IRC client." baseurl: "" +include: + - _redirects plugins: - jekyll-sitemap collections: diff --git a/_docs/client/commands.md b/_docs/client/commands.md deleted file mode 100644 index b4b0fd18..00000000 --- a/_docs/client/commands.md +++ /dev/null @@ -1,223 +0,0 @@ ---- -layout: documentation -title: Commands -category: Client -order: 3.1 ---- - -# Commands - - - -The Lounge implements most of the IRC commands you may be familiar with. Here's a list of commands you can use: - -## /away - -Mark yourself as away and set your away message. If you omit the message, an empty one is used. - -Example: `/away Making quiche` - -## /back - -Remove your away status (after `/away []`). - -Example: `/back` - -## /clear - -Clear the current screen. - -Example: `/clear` - -## /close - -Close the current window. - -Example: `/close` - -Aliases: - -- [/leave](#leave) -- [/part](#part) - -## /connect - -Connect to a new network. - -Example: `/connect irc.freenode.org` - -Aliases: - -- [/server](#server) - -## /deop - -Remove op (-o) from a user in the current channel. - -Example: `/deop john` - -## /devoice - -Remove voice (-v) from a user in the current channel. - -Example: `/devoice john` - -## /disconnect - -Disconnect from the current network. - -Example: `/disconnect` - -## /invite - -Invite a user to the specified channel. - -Example: `/invite john #chan` - -## /join - -Join a channel. - -Example: `/join #chan` - -## /kick - -Kick a user from the specified channel. - -Example: `/kick john` - -## /leave - -Leave the current channel or query. - -Example: `/leave` - -Aliases: - -- [/close](#close) -- [/part](#part) - -## /me - -Send an `ACTION` message to the current channel. - -Example: `/me likes chocolate` - -## /mode - -Set the user mode in the current channel. - -Example: `/mode +o john` - -## /msg - -Send a message to the specified channel. - -Example: `/msg #chan Hello!` - -## /nick - -Change your nickname on the current network. - -Example: `/nick john` - -## /notice - -Sends a notice message to the specified user. - -Example: `/notice john Hello!` - -## /op - -Make user op (+o) in the current channel. - -Example: `/op john` - -## /part - -Leave the current channel. - -Example: `/part` - -## /query - -Send a private message to the specified user. - -Example: `/query john Hello!` - -## /quit - -Disconnect from the current network. - -Example: `/quit` - -## /quote - -Example: `/quote` - -Aliases: - -- [/raw](#raw) -- [/send](#send) - -## /raw - -Send a raw message to the current IRC network. - -Example: `/raw` - -Aliases: - -- [/quote](#quote) -- [/send](#send) - -## /say - -Send a message to the current channel. - -Example: `/say Hello!` - -## /send - -Example: `/send` - -Aliases: - -- [/quote](#quote) -- [/raw](#raw) - -## /server - -Connect to a new network. - -Example: `/server irc.freenode.org` - -Aliases: - -- [/connect](#connect) - -## /slap - -Slap someone in the current channel. With a trout! - -Example: `/slap john` - -## /topic - -Set the topic in the current channel. - -Example: `/topic Hello!` - -## /voice - -Give a user voice (+v) in the current channel. - -Example: `/voice john` - -## /whois - -Whois a user on the current network. - -Example: `/whois john` diff --git a/_docs/client/keyboard_shortcuts.md b/_docs/client/keyboard_shortcuts.md deleted file mode 100644 index ce0a84f5..00000000 --- a/_docs/client/keyboard_shortcuts.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -layout: documentation -title: Keyboard Shortcuts -category: Client -order: 3.2 ---- - -# Keyboard Shortcuts - - - -## Switch channels - -To quickly jump between channels: - -__WIN / LINUX:__ - -``` -CTRL + UP ARROW # Move up one channel -CTRL + DOWN ARROW # Move down -``` - -__OS X:__ - -``` -COMMAND + UP ARROW # Move up one channel -COMMAND + DOWN ARROW # Move down -``` - -## Clear buffer - -Quickly hides all the messages in the current channel. - -_This is the same as `/clear`._ - -__WIN / LINUX:__ - -``` -CTRL + SHIFT + L -``` - -__OS X:__ - -``` -COMMAND + K -``` diff --git a/_docs/deployment/passenger.md b/_docs/deployment/passenger.md deleted file mode 100644 index bf63cc6d..00000000 --- a/_docs/deployment/passenger.md +++ /dev/null @@ -1,77 +0,0 @@ ---- -layout: documentation -title: Passenger -category: Deployment -order: 4.4 ---- - -# Passenger - - - -This document will explain how to install The Lounge on Phusion Passenger. You can find out more about Passenger at [their website](https://www.phusionpassenger.com/). - -### Step 1: - -[Install Passenger](https://www.phusionpassenger.com/download#open_source). - -### Step 2: - -Clone the repository and install The Lounge from source: - -``` -git clone https://github.com/thelounge/lounge -cd lounge -npm install -NODE_ENV=production npm run build -``` - -### Step 3: - -Add a link from `index.js` to `app.js` (Passenger requires an `app.js` file): - -``` -ln index.js app.js -``` - -### Step 4: - -Add the server configuration to NGINX (example, change the user/group/server_name to something appropriate): - -```nginx -server { - listen 80; - listen 443 ssl; - server_name irc.me.com; - root ; - - ssl_certificate ; - ssl_certificate_key ; - - passenger_enabled on; - - passenger_user lounge; - passenger_group lounge; - passenger_nodejs /usr/bin/node; - passenger_app_root ; -} -``` - -Or Apache: - -```conf - - ServerName irc.me.com - DocumentRoot - PassengerRoot - PassengerUser lounge - PassengerGroup lounge - PassengerAppRoot - -``` - -### Step 5: - -Restart your web server (Apache/NGINX) and check to see if it works! diff --git a/_includes/disqus.html b/_includes/disqus.html deleted file mode 100644 index 5bfee981..00000000 --- a/_includes/disqus.html +++ /dev/null @@ -1,12 +0,0 @@ -
- diff --git a/_layouts/blog.html b/_layouts/blog.html deleted file mode 100644 index 4b1c6a3f..00000000 --- a/_layouts/blog.html +++ /dev/null @@ -1,22 +0,0 @@ ---- -layout: default ---- - -
-
-
-
-
-

Blog

-
-
-
-
-
-
-
- {{ content }} -
-
-
-
diff --git a/_layouts/post.html b/_layouts/post.html deleted file mode 100644 index e03e3834..00000000 --- a/_layouts/post.html +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: blog ---- - -
-

{{ page.title }}

- -
- {{ content }} -
-
- {% include disqus.html %} -
-
diff --git a/_redirects b/_redirects new file mode 100644 index 00000000..b2b9d164 --- /dev/null +++ b/_redirects @@ -0,0 +1,4 @@ +# Client-related documentations have been moved to the Help window of the +# application itself since v2.2.2. +/docs/client/commands https://demo.thelounge.chat/#help 302 +/docs/client/keyboard_shortcuts https://demo.thelounge.chat/#help 302 diff --git a/blog.html b/blog.html deleted file mode 100644 index ba3522de..00000000 --- a/blog.html +++ /dev/null @@ -1,16 +0,0 @@ ---- -layout: blog ---- - -
-{% for post in site.posts %} -
-

{{ post.title }}

- -
- {{ post.excerpt }} -

Read more...

-
-
-{% endfor %} -
diff --git a/css/style.css b/css/style.css index 5c1d08f7..4d576c09 100644 --- a/css/style.css +++ b/css/style.css @@ -203,24 +203,6 @@ pre code { #menu strong:first-child { margin-top: 0; } -#blog h1 { - margin-bottom: 5px; - font-size: 28px; -} -#blog .content h2 { - font-size: 22px; -} -#blog .post { - padding: 40px 0 0; -} -#blog .post-date { - color: #999; - font-size: .8em; - margin-bottom: 20px; -} -#blog .post-comments { - margin-top: 60px; -} #footer { color: #ccc; font-size: 12px;